Skip to content

Commit

Permalink
feat: log when composeDown is no-op
Browse files Browse the repository at this point in the history
Closes #252
  • Loading branch information
augi committed Aug 18, 2020
1 parent cf65acb commit 936e2c5
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ class ComposeDown extends ComposeDownForced {
void down() {
if (settings.stopContainers) {
super.down()
} else {
logger.lifecycle('You\'re trying to stop the containers, but stopContainers is set to false. Please use composeDownForced task instead.')
}
}
}

0 comments on commit 936e2c5

Please sign in to comment.