Skip to content

Commit

Permalink
fix: unbound variable _group in reset/dc-detect-version script (getse…
Browse files Browse the repository at this point in the history
  • Loading branch information
lovetodream committed Jan 31, 2022
1 parent da8f490 commit 698ecd3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions install/dc-detect-version.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
if [ "${GITHUB_ACTIONS:-}" = "true" ]; then
_group="::group::"
_endgroup="::endgroup::"
else
_group=""
_endgroup=""
fi

echo "${_group}Initializing Docker Compose ..."

# Some environments still use `docker-compose` even for Docker Compose v2.
Expand Down

0 comments on commit 698ecd3

Please sign in to comment.