From 5f109774b1e12844e7e1f89d031efedb742b60ef Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Sat, 10 Aug 2024 07:50:14 +1000 Subject: [PATCH] Disable shellcheck SC1090 We use `REPO_DIR` in file paths when sourcing so shellcheck cannot find the files. Disable the lint. (I thought -x used to shoosh this warning but it doesn't seem to be doing so.) --- ci/run_task.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ci/run_task.sh b/ci/run_task.sh index 08dc761..d38c1f7 100755 --- a/ci/run_task.sh +++ b/ci/run_task.sh @@ -1,6 +1,9 @@ #!/usr/bin/env bash # # Script used to run CI jobs, can also be used from the command line. +# +# disable can't follow non-constant source (because paths use $REPO_DIR). +# shellcheck disable=SC1090 set -euox pipefail