From 87be9b29cceefcfd182ff732d2a859c1e00bc2e5 Mon Sep 17 00:00:00 2001 From: Martin Mattel Date: Wed, 5 Nov 2025 14:24:02 +0100 Subject: [PATCH] Stop and exit execution on first error --- ocis/gh-md-toc.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ocis/gh-md-toc.sh b/ocis/gh-md-toc.sh index 35239bf5f86..dd69d50fdfc 100755 --- a/ocis/gh-md-toc.sh +++ b/ocis/gh-md-toc.sh @@ -23,6 +23,8 @@ # substr($0, match($0, "href=\"[^\"]+?\" ")+6, RLENGTH-8) # +set -e + gh_toc_version="0.10.0" gh_user_agent="gh-md-toc v$gh_toc_version"