ripasso-cursive: cosmetic changes (#361736)
[NixPkgs.git] / pkgs / by-name / go / govulncheck / version.patch
blob2a79276fa15aa30c9bfe55775cba00f78e292585
1 diff --git a/internal/scan/run.go b/internal/scan/run.go
2 index fa7fe37..216ca43 100644
3 --- a/internal/scan/run.go
4 +++ b/internal/scan/run.go
5 @@ -99,8 +99,8 @@ func scannerVersion(cfg *config, bi *debug.BuildInfo) {
6 if bi.Path != "" {
7 cfg.ScannerName = path.Base(bi.Path)
9 - if bi.Main.Version != "" && bi.Main.Version != "(devel)" {
10 - cfg.ScannerVersion = bi.Main.Version
11 + if true {
12 + cfg.ScannerVersion = "@version@"
13 return