Skip to content

Commit 3fb4dd4

Browse files
committed
remove superfluous reset of exit code
1 parent 51a83d6 commit 3fb4dd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/nextjs/test/run-integration-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ for NEXTJS_VERSION in 10 11; do
6060
args="--silent"
6161
fi
6262

63+
# we keep this updated as we run the tests, so that if it's ever non-zero, we can bail
6364
EXIT_CODE=0
6465

6566
echo "Running server tests with options: $args"
@@ -73,7 +74,6 @@ for NEXTJS_VERSION in 10 11; do
7374
exit 1
7475
fi
7576

76-
EXIT_CODE=0
7777
echo "Running client tests with options: $args"
7878
node test/client.js $args || EXIT_CODE=$?
7979
if [ $EXIT_CODE -eq 0 ]

0 commit comments

Comments
 (0)