We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 074f2a3 commit 36f265cCopy full SHA for 36f265c
conf/run_linters.sh
@@ -72,7 +72,8 @@ fi
72
if [[ "${localbuild}" = "true" ]]; then
73
if [[ "${linters_to_run}" == *"shellcheck"* ]]; then
74
echo "===> Running shellcheck"
75
- shellcheck "${ROOT_DIR}"/*.sh "${ROOT_DIR}"/*/*.sh -s bash -f json | jq | tee "${BUILD_DIR}/shellcheck-report.json" | "${CONF_DIR}"/shellcheck2sonar.py "${external_format}" > "${SHELLCHECK_REPORT}"
+ shellcheck $(find "${ROOT_DIR}" . -name '*.sh') \
76
+ -s bash -f json | jq | tee "${BUILD_DIR}/shellcheck-report.json" | "${CONF_DIR}"/shellcheck2sonar.py "${external_format}" > "${SHELLCHECK_REPORT}"
77
[[ ! -s "${SHELLCHECK_REPORT}" ]] && rm -f "${SHELLCHECK_REPORT}"
78
cat "${BUILD_DIR}/shellcheck-report.json"
79
fi
0 commit comments