mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
16 lines
445 B
Diff
16 lines
445 B
Diff
diff --git a/internal/scan/run.go b/internal/scan/run.go
|
|
index fa7fe37..216ca43 100644
|
|
--- a/internal/scan/run.go
|
|
+++ b/internal/scan/run.go
|
|
@@ -99,8 +99,8 @@ func scannerVersion(cfg *config, bi *debug.BuildInfo) {
|
|
if bi.Path != "" {
|
|
cfg.ScannerName = path.Base(bi.Path)
|
|
}
|
|
- if bi.Main.Version != "" && bi.Main.Version != "(devel)" {
|
|
- cfg.ScannerVersion = bi.Main.Version
|
|
+ if true {
|
|
+ cfg.ScannerVersion = "@version@"
|
|
return
|
|
}
|
|
|