From 1492a24c379a4ce4b3283268b89f54afe3b2aa76 Mon Sep 17 00:00:00 2001 From: Thiago Canozzo Lahr Date: Thu, 5 Sep 2024 07:43:48 -0300 Subject: [PATCH] fix: shellcheck --- lib/list_artifacts.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/list_artifacts.sh b/lib/list_artifacts.sh index 00f1f1a..272a4e3 100644 --- a/lib/list_artifacts.sh +++ b/lib/list_artifacts.sh @@ -37,6 +37,7 @@ _list_artifacts() __oa_os="${2:-all}" if [ "${__oa_os}" = "all" ]; then + # shellcheck disable=SC2162 find "${__oa_artifacts_dir}"/* -name "*.yaml" -print 2>/dev/null \ | while read __oa_item || [ -n "${__oa_item}" ]; do if grep -q -E "modifier:.*true" "${__oa_item}" 2>/dev/null; then