Skip to content

Commit 87be9b2

Browse files
committed
Stop and exit execution on first error
1 parent 9d6a858 commit 87be9b2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ocis/gh-md-toc.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
# substr($0, match($0, "href=\"[^\"]+?\" ")+6, RLENGTH-8)
2424
#
2525

26+
set -e
27+
2628
gh_toc_version="0.10.0"
2729

2830
gh_user_agent="gh-md-toc v$gh_toc_version"

0 commit comments

Comments
 (0)