Skip to content

Commit 522988e

Browse files
committed
add set -e to bash script
1 parent 44ccfc2 commit 522988e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

script/early-access/clone-locally

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@
66
#
77
# [end-readme]
88

9+
set -e
10+
911
# Go up a directory
1012
pushd .. > /dev/null
1113

1214
if [ -d "docs-early-access" ]; then
13-
echo "A 'docs-early-access' directory already exists! Try script/early-access/feature-branch.js."
15+
echo "A 'docs-early-access' directory already exists!"
1416
popd > /dev/null
1517
exit 0
1618
fi

0 commit comments

Comments
 (0)