From 6cc72acde0dc19fd37bfb6422952958e0cad8cf6 Mon Sep 17 00:00:00 2001 From: Tyler Akins Date: Fri, 12 May 2023 07:44:48 -0500 Subject: [PATCH] Fix #67 - unbound variable error Release 3.0.1 --- mo | 4 ++-- tests/help | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mo b/mo index d73e553..e10df27 100755 --- a/mo +++ b/mo @@ -205,7 +205,7 @@ mo() ( mo::debug "Debug enabled" MO_OPEN_DELIMITER="$MO_OPEN_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" echo -n "$moParsed" ) @@ -1947,7 +1947,7 @@ mo::tokenizeTagContentsSingleQuote() { # Save the original command's path for usage later 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 executed, perform the actions as expected. diff --git a/tests/help b/tests/help index c4aeb60..a52dc67 100755 --- a/tests/help +++ b/tests/help @@ -93,7 +93,7 @@ This is open source! Please feel free to contribute. https://github.com/tests-always-included/mo -MO_VERSION=3.0.0 +MO_VERSION=3.0.1 EOF }