Skip to content

Commit

Permalink
fixes #38
Browse files Browse the repository at this point in the history
  • Loading branch information
brock committed Dec 15, 2018
1 parent 0e9fde7 commit 44e7862
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node-reinstall
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ confirm ()
sudo -v

# if node is installed, get the installed version
INSTALLED_NODE_VERSION=$(node --version 2> /dev/null)
INSTALLED_NODE_VERSION=$(node --version 2&1> /dev/null)
if [[ ! -z $INSTALLED_NODE_VERSION ]]; then
echo "Found a version of Node.js that is already installed."
echo "If you continue now, we will re-install Node.js version $INSTALLED_NODE_VERSION"
Expand Down

0 comments on commit 44e7862

Please sign in to comment.