Fix #67 - unbound variable error

Release 3.0.1
This commit is contained in:
Tyler Akins 2023-05-12 07:44:48 -05:00
parent 0ce41dedb1
commit 6cc72acde0
No known key found for this signature in database
GPG Key ID: 8F3B8C432F4393BD
2 changed files with 3 additions and 3 deletions

4
mo
View File

@ -205,7 +205,7 @@ mo() (
mo::debug "Debug enabled" mo::debug "Debug enabled"
MO_OPEN_DELIMITER="$MO_OPEN_DELIMITER_DEFAULT" MO_OPEN_DELIMITER="$MO_OPEN_DELIMITER_DEFAULT"
MO_CLOSE_DELIMITER="$MO_CLOSE_DELIMITER_DEFAULT" MO_CLOSE_DELIMITER="$MO_CLOSE_DELIMITER_DEFAULT"
mo::content moContent "${moFiles[@]}" || return 1 mo::content moContent ${moFiles[@]+"${moFiles[@]}"} || return 1
mo::parse moParsed "$moContent" mo::parse moParsed "$moContent"
echo -n "$moParsed" echo -n "$moParsed"
) )
@ -1947,7 +1947,7 @@ mo::tokenizeTagContentsSingleQuote() {
# Save the original command's path for usage later # Save the original command's path for usage later
MO_ORIGINAL_COMMAND="$(cd "${BASH_SOURCE[0]%/*}" || exit 1; pwd)/${BASH_SOURCE[0]##*/}" MO_ORIGINAL_COMMAND="$(cd "${BASH_SOURCE[0]%/*}" || exit 1; pwd)/${BASH_SOURCE[0]##*/}"
MO_VERSION="3.0.0" MO_VERSION="3.0.1"
# If sourced, load all functions. # If sourced, load all functions.
# If executed, perform the actions as expected. # If executed, perform the actions as expected.

View File

@ -93,7 +93,7 @@ This is open source! Please feel free to contribute.
https://github.com/tests-always-included/mo https://github.com/tests-always-included/mo
MO_VERSION=3.0.0 MO_VERSION=3.0.1
EOF EOF
} }