Skip to content

Commit

Permalink
Scripts: Fix typo in error message from python => node.
Browse files Browse the repository at this point in the history
  • Loading branch information
realazthat committed Sep 3, 2024
1 parent 57245e1 commit b3e8fb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/utilities/ensure-node-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ NODE_VERSION=$(node --version)


if [[ "${NODE_VERSION}" != "${EXPECTED_NODE_VERSION}" ]]; then
echo -e "${RED}Expected python version ${EXPECTED_NODE_VERSION}, got ${NODE_VERSION}${NC}"
echo -e "${RED}Expected node version ${EXPECTED_NODE_VERSION}, got ${NODE_VERSION}${NC}"
[[ $0 == "${BASH_SOURCE[0]}" ]] && EXIT="exit" || EXIT="return"
${EXIT} 1
fi

0 comments on commit b3e8fb5

Please sign in to comment.