From e0f50e9e2517d2f20475db484b62ef0730b37ebd Mon Sep 17 00:00:00 2001 From: Michael Boelen Date: Sat, 13 Aug 2016 11:13:44 +0200 Subject: [PATCH] Always register strict code checking in settings --- include/profiles | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/profiles b/include/profiles index cc41fd30..3a275112 100644 --- a/include/profiles +++ b/include/profiles @@ -283,7 +283,6 @@ # Set strict mode for development and quality purposes strict) FIND=$(echo "${VALUE}" | egrep "^(1|true|yes)") && SET_STRICT=1 - AddSetting "strict" "${SET_STRICT}" "Perform strict test of scripts" ;; # Define what kind of scan we are performing @@ -447,6 +446,8 @@ # Register the discovered settings AddSetting "log-tests-incorrect-os" "${SETTING_LOG_TESTS_INCORRECT_OS}" "Logging of tests that have a different OS" AddSetting "show-report-solution" "${SETTING_SHOW_REPORT_SOLUTION}" "Show more details in report (solution)" + AddSetting "strict" "${SET_STRICT}" "Perform strict code test of scripts" + unset SETTING_LOG_TESTS_INCORRECT_OS SETTING_SHOW_REPORT_SOLUTION # #################################################################################