blob: 439070769761b33f85801e73d28f4a8331a037d7 [file] [log] [blame]
# Test of missing go.mod error message.
$ govulncheck -dir ${moddir}/nogomod . --> FAIL 1
govulncheck is an experimental tool. Share feedback at https://go.dev/s/govulncheck-feedback.
Scanning for dependencies with known vulnerabilities...
govulncheck: no go.mod file
govulncheck only works Go with modules. To make your project a module, run go mod init.
See https://go.dev/doc/modules/managing-dependencies for more information.