add set -e to bash script
This commit is contained in:
@@ -6,11 +6,13 @@
|
|||||||
#
|
#
|
||||||
# [end-readme]
|
# [end-readme]
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
# Go up a directory
|
# Go up a directory
|
||||||
pushd .. > /dev/null
|
pushd .. > /dev/null
|
||||||
|
|
||||||
if [ -d "docs-early-access" ]; then
|
if [ -d "docs-early-access" ]; then
|
||||||
echo "A 'docs-early-access' directory already exists! Try script/early-access/feature-branch.js."
|
echo "A 'docs-early-access' directory already exists!"
|
||||||
popd > /dev/null
|
popd > /dev/null
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user