Skip to content

Commit a541f40

Browse files
committed
exit on failed cd is redundant with set-e
1 parent 1b722a3 commit a541f40

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

bin/nodenv-update-version-defs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
# -d/--destination Directory where build definitions will be written
1111
# -f/--force Write build definitions that already exist somewhere in
1212
# NODE_BUILD_DEFINITIONS paths; possibly overwriting
13-
# -n/--dry-run List definitions that would be created; without doing so
13+
# -n/--dry-run Print build definitions that would have been written;
14+
# without doing so
1415
#
1516
# --nodejs Scrape nodejs.org for node definitions;
1617
# If none of --nodejs,--iojs are supplied, defaults to all
@@ -84,6 +85,6 @@ while [ $# -gt 0 ]; do
8485
done
8586

8687
# change to plugin dir so .node-version will be respected
87-
cd "$INSTALL_PREFIX" || exit 1
88+
cd "$INSTALL_PREFIX"
8889

8990
exec ./libexec/scrape "${SCRAPE_OPTS[@]}"

0 commit comments

Comments
 (0)