mirror of
https://github.com/docker/compose.git
synced 2026-10-20 19:02:47 +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
|
|
@ -39,8 +39,7 @@ func DisplayScanSuggestMsg() {
|
|||
if scanAlreadyInvoked() {
|
||||
return
|
||||
}
|
||||
fmt.Println()
|
||||
fmt.Println("Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them")
|
||||
fmt.Fprintf(os.Stderr, "\nUse 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them\n")
|
||||
}
|
||||
|
||||
func scanAlreadyInvoked() bool {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue