Skip to content

Commit

Permalink
refactor(run): Output only if in verbose mode (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
leocavalcante authored Feb 2, 2024
1 parent e200381 commit 0458636
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ images() {
}

run() {
echo -e "Running \033[0;32m$PHPCTL_IMAGE\033[0m"
if [ -n "$PHPCTL_VERBOSE" ]; then
echo -e "Running \033[0;32m$PHPCTL_IMAGE\033[0m"
fi

local phpctl_ini=""
if [ -s phpctl.ini ]; then
Expand Down

0 comments on commit 0458636

Please sign in to comment.