Skip to content

Commit 9122ccd

Browse files
authored
Add fail fast option
Fail the script if a command inside it fails to prevent a install with exitcode 0 even when commands in it are failing.
1 parent 4a25adb commit 9122ccd

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

bin/setup

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22

3+
set -e
4+
35
# run command at repo root
46
CURRENT_PATH=$PWD
57
if [ -d .git ]; then

0 commit comments

Comments
 (0)