Found another issue with strict mode

This commit is contained in:
Tyler Akins 2017-11-13 13:53:38 -06:00
parent 4f615a0faf
commit f889c37316
No known key found for this signature in database
GPG Key ID: 8F3B8C432F4393BD

2
mo
View File

@ -146,7 +146,7 @@ moCallFunction() {
moArgs=() moArgs=()
# shellcheck disable=SC2031 # shellcheck disable=SC2031
if [[ -n "$MO_ALLOW_FUNCTION_ARGUMENTS" ]]; then if [[ -n "${MO_ALLOW_FUNCTION_ARGUMENTS-}" ]]; then
moArgs=$3 moArgs=$3
fi fi