From 148a5f5a30d7109274ebde37af2bf8f8cca3dae5 Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Wed, 7 Dec 2022 23:28:42 -0500 Subject: [PATCH] update kubeconform cli arg Signed-off-by: Brett Logan --- lib/linter.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/linter.sh b/lib/linter.sh index 7be066d7..a38c57bf 100755 --- a/lib/linter.sh +++ b/lib/linter.sh @@ -925,9 +925,9 @@ LINTER_COMMANDS_ARRAY['JSX']="eslint --no-eslintrc -c ${JSX_LINTER_RULES}" LINTER_COMMANDS_ARRAY['KOTLIN']="ktlint" LINTER_COMMANDS_ARRAY['KOTLIN_ANDROID']="ktlint --android" if [ "${KUBERNETES_KUBECONFORM_OPTIONS}" == "null" ] || [ -z "${KUBERNETES_KUBECONFORM_OPTIONS}" ]; then - LINTER_COMMANDS_ARRAY['KUBERNETES_KUBECONFORM']="kubeconform --strict" + LINTER_COMMANDS_ARRAY['KUBERNETES_KUBECONFORM']="kubeconform -strict" else - LINTER_COMMANDS_ARRAY['KUBERNETES_KUBECONFORM']="kubeconform --strict ${KUBERNETES_KUBECONFORM_OPTIONS}" + LINTER_COMMANDS_ARRAY['KUBERNETES_KUBECONFORM']="kubeconform -strict ${KUBERNETES_KUBECONFORM_OPTIONS}" fi LINTER_COMMANDS_ARRAY['LATEX']="chktex -q -l ${LATEX_LINTER_RULES}" LINTER_COMMANDS_ARRAY['LUA']="luacheck --config ${LUA_LINTER_RULES}"