Skip to content

Commit fcc294c

Browse files
committed
add exits back for spellcheck linting
1 parent 6bbf102 commit fcc294c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.evergreen/scripts/create-spec-pr.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ echo "Getting github token..."
2020
token=$(bash ./get-access-token.sh $repo $owner)
2121
if [ -z "${token}" ]; then
2222
echo "Failed to get github access token!"
23-
popd
23+
popd || exit
2424
exit 1
2525
fi
2626
echo "Getting github token... done."
27-
popd
27+
popd || exit
2828

2929
# Make the git checkout and create a new branch.
3030
echo "Creating the git checkout..."

0 commit comments

Comments
 (0)