From 84f6922b6f9a8ad2d2eaf2c4b14a07a9d609d2e5 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 25 Nov 2024 13:56:01 +0100 Subject: [PATCH] check sourced --- sh/main.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sh/main.sh b/sh/main.sh index bb7c2bc..4c1e58b 100644 --- a/sh/main.sh +++ b/sh/main.sh @@ -15,7 +15,9 @@ sh_source_check() { -name "*.sh" \ -printf ". \"%P\"\n" \ >"${file}" - shellcheck "${file}" + shellcheck \ + --check-sourced \ + "${file}" rm "${file}" }