Skip to content

Commit

Permalink
fix: unbound variable _group in reset/dc-detect-version script (#1283) (
Browse files Browse the repository at this point in the history
  • Loading branch information
lovetodream authored Feb 15, 2022
1 parent 94d7876 commit 3b5fe43
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 3b5fe43

Please sign in to comment.