Skip to content

Commit 665cebc

Browse files
committed
update: exit on subcommand failure
1 parent fae818d commit 665cebc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bin/hop

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

3+
set -eo pipefail
4+
35
HOP_PATH=$(cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd)
46
TOOLKIT_PATH=$(dirname "$HOP_PATH")
57

0 commit comments

Comments
 (0)