Merge pull request #629 from nodejs/update.sh-parallel-fixup

Use "exit" instead of "continue" to exit subshell in update.sh
This commit is contained in:
Peter Dave Hello 2018-02-15 01:20:13 +08:00 committed by GitHub
commit 341e8a543f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ function update_node_version {
for version in "${versions[@]}"; do
{
# Skip "docs" and other non-docker directories
[ -f "$version/Dockerfile" ] || continue
[ -f "$version/Dockerfile" ] || exit
info "Updating version $version..."