Skip to content
Myr

When there's no `nvm run` output, don't echo an empty line.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Jordan Harband · committed by Jordan Harband · parent 0792945 · Browse files · 1 file+3 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−1 removed

  • other:+3 added−1 removed

1 file+3 added−1 removed

modified:nvm.sh+3 added-1 removed
1282 unmodified lines
1283 OUTPUT="$(nvm use "$VERSION" >/dev/null && node "$ARGS")"1284 fi1285 local EXIT_CODE1286 EXIT_CODE="$?"1287 if [ -n "$OUTPUT" ]; then1287 echo "$OUTPUT"1288 echo "$OUTPUT"1289 fi1290 return $EXIT_CODE1291 ;;1292 "exec" )1293 shift
251 unmodified lines