Skip to content

Commit f2a0737

Browse files
Use "exit" instead of "continue" to exit subshell in update.sh
1 parent 0de9b92 commit f2a0737

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

update.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function update_node_version {
5555
for version in "${versions[@]}"; do
5656
{
5757
# Skip "docs" and other non-docker directories
58-
[ -f "$version/Dockerfile" ] || continue
58+
[ -f "$version/Dockerfile" ] || exit
5959

6060
info "Updating version $version..."
6161

0 commit comments

Comments
 (0)