Skip to content

Commit

Permalink
Hide any output from use_node checking for Node compatibility (#4237)
Browse files Browse the repository at this point in the history
Signed-off-by: Miki <miki@amazon.com>
Signed-off-by: Josh Romero <rmerqg@amazon.com>
Co-authored-by: Josh Romero <rmerqg@amazon.com>
(cherry picked from commit f298e7e)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md
  • Loading branch information
github-actions[bot] committed Jun 21, 2023
1 parent dca4640 commit 8435104
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/use_node
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ else
if [ -d "${OSD_HOME}/bin" ]; then
NODE_ERROR_SHOW=true
# Not all operating systems can run the latest Node.js and the fallback is for them
"${NODE}" -v 2> /dev/null
"${NODE}" -v > /dev/null 2>&1
if [ $? -ne 0 ] && [ -d "${OSD_HOME}/node/fallback" ]; then
NODE="$OSD_HOME/node/fallback/bin/node"
fi
Expand Down

0 comments on commit 8435104

Please sign in to comment.