Skip to content

Commit

Permalink
update lib
Browse files Browse the repository at this point in the history
  • Loading branch information
gdbtek committed May 3, 2019
1 parent ada8817 commit 6ee08ac
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion libraries/util.bash
Original file line number Diff line number Diff line change
Expand Up @@ -1640,8 +1640,15 @@ function deleteSpaces()
function displayVersion()
{
local -r message="${1}"
local -r applicationName="${2}"

if [[ "$(isEmptyString "${applicationName}")" = 'true' ]]
then
header 'DISPLAYING VERSION'
else
header "DISPLAYING ${applicationName} VERSION"
fi

header 'DISPLAYING VERSION'
info "${message}"
}

Expand Down

0 comments on commit 6ee08ac

Please sign in to comment.