mirror of
https://github.com/aquasecurity/trivy.git
synced 2025-12-22 23:26:39 -08:00
Suppress log output when --quiet flag is on (#125)
* Add --no-progress flag * Disable log output when --quiet flag is enabled
This commit is contained in:
committed by
Teppei Fukuda
parent
31a1f5968b
commit
a77984a381
@@ -31,7 +31,7 @@ func write(t *testing.T, name string, content string) {
|
||||
}
|
||||
|
||||
func TestFileWalk(t *testing.T) {
|
||||
if err := log.InitLogger(false); err != nil {
|
||||
if err := log.InitLogger(false, false); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
td, err := ioutil.TempDir("", "walktest")
|
||||
|
||||
Reference in New Issue
Block a user