From d4a16449d340a8a73a20c3497b61ed169a3cbfe1 Mon Sep 17 00:00:00 2001 From: 0xmachos <0xmachos@gmail.com> Date: Sun, 5 May 2024 15:42:32 +0100 Subject: [PATCH] lint-plists: Update run code --- .github/workflows/Shellcheck.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/Shellcheck.yml b/.github/workflows/Shellcheck.yml index adfa4a3..c3d830e 100644 --- a/.github/workflows/Shellcheck.yml +++ b/.github/workflows/Shellcheck.yml @@ -89,7 +89,9 @@ jobs: \( -name "*.plist" -o -name "*.mobileconfig" \)) for file in "${FILES[@]}"; do - if ! /usr/bin/plutil -lint "${file}" ; then + if /usr/bin/plutil -lint "${file}" ; then + echo "[PASS] $(/usr/bin/basename "${file}")" + else echo "[FAIL] $(/usr/bin/basename "${file}")" ERRORS+=("${file}") fi