Remove useless trailing newlines

This commit is contained in:
Peter Dave Hello
2018-02-26 01:01:30 +08:00
parent f3076d14c9
commit 2cd2c0f72e
60 changed files with 0 additions and 63 deletions

View File

@@ -6,4 +6,3 @@ die () { echo "$@" ; exit 1; }
nvm run 0.10.7 --harmony --version
[ "_$(nvm run 0.10.7 --harmony --version 2>/dev/null | tail -1)" = "_v0.10.7" ] || die "\`nvm run --harmony --version\` failed to run with the correct version"

View File

@@ -6,4 +6,3 @@ die () { echo "$@" ; exit 1; }
\. ../../../nvm.sh
[ "$(nvm run 0.10.7 --version | tail -1)" = "v0.10.7" ] || die "\`nvm run\` failed to run with the correct version"

View File

@@ -10,4 +10,3 @@ echo "0.10.7" > .nvmrc
[ "$(nvm run --version | tail -1)" = "v0.10.7" ] || die "\`nvm run\` failed to run with the .nvmrc version"
[ "$(nvm run --version | head -1)" = "Found '$PWD/.nvmrc' with version <0.10.7>" ] || die "\`nvm run\` failed to print out the \"found in .nvmrc\" message"

View File

@@ -9,4 +9,3 @@ nvm install --lts
if [ -f ".nvmrc" ]; then
mv .nvmrc .nvmrc.bak
fi

View File

@@ -12,4 +12,3 @@ rm .nvmrc
if [ -f ".nvmrc.bak" ]; then
mv .nvmrc.bak .nvmrc
fi