From 2a7c65df4737fbfee82044b361676a89a9b46ddd Mon Sep 17 00:00:00 2001 From: Tan Chee Keong Date: Mon, 9 Oct 2023 16:46:00 +0800 Subject: [PATCH] Add set -e --- scripts/cli.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/cli.sh b/scripts/cli.sh index e9899d0164..5e6251e10f 100755 --- a/scripts/cli.sh +++ b/scripts/cli.sh @@ -1,5 +1,7 @@ #! /usr/bin/env bash +set -e + # A function to generate formatted .md files write_to_file() { local cmd="$1"