Always register strict code checking in settings

This commit is contained in:
Michael Boelen 2016-08-13 11:13:44 +02:00
parent 075a69e125
commit e0f50e9e25
1 changed files with 2 additions and 1 deletions

View File

@ -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
#
#################################################################################