mirror of
https://github.com/docker/compose.git
synced 2026-08-27 03:45:29 +00:00
Fix scan message with quiet flag
Signed-off-by: Chris Crone <christopher.crone@docker.com>
This commit is contained in:
parent
74773b9062
commit
411612ed8d
8 changed files with 77 additions and 10 deletions
|
|
@ -80,7 +80,7 @@ func Exec(root *cobra.Command) {
|
|||
os.Exit(1)
|
||||
}
|
||||
command := metrics.GetCommand(os.Args[1:])
|
||||
if command == "build" {
|
||||
if command == "build" && !metrics.HasQuietFlag(os.Args[1:]) {
|
||||
utils.DisplayScanSuggestMsg()
|
||||
}
|
||||
metrics.Track(store.DefaultContextType, os.Args[1:], metrics.SuccessStatus)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue