about summary refs log tree commit diff
path: root/tools
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-09-18T14·32+0300
committerclbot <clbot@tvl.fyi>2021-12-24T10·18+0000
commit29db849849fc6744812a1f68dea418cd6d650ca9 (patch)
tree60d91eae792ca96f0f9df054b2b25215ae5ec4e8 /tools
parente46521dce1d11b88a0c07e87cd4de2fa77910d12 (diff)
fix(depot-scanner): Reenable CI runs r/3344
(zseri:) It seems like relativePath should be replaced with relativeFlag,
as no variable with the former name exists, a boolean is as far as I can
tell expected, and a boolean with a similar name exists. Lets give it a
try in the CI.

Change-Id: I0e7e522a41a517a38222dcda3b66731344613c1e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3581
Reviewed-by: tazjin <mail@tazj.in>
Autosubmit: tazjin <mail@tazj.in>
Tested-by: BuildkiteCI
Diffstat (limited to 'tools')
-rw-r--r--tools/depot-scanner/default.nix2
-rw-r--r--tools/depot-scanner/main.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/depot-scanner/default.nix b/tools/depot-scanner/default.nix
index e6fd5dec29..d18034cff0 100644
--- a/tools/depot-scanner/default.nix
+++ b/tools/depot-scanner/default.nix
@@ -13,4 +13,4 @@ in depot.nix.buildGo.program {
   deps = [
     localProto
   ];
-} // { inherit localProto; meta.ci = false; }
+} // { inherit localProto; }
diff --git a/tools/depot-scanner/main.go b/tools/depot-scanner/main.go
index 2731902589..4128fce187 100644
--- a/tools/depot-scanner/main.go
+++ b/tools/depot-scanner/main.go
@@ -165,7 +165,7 @@ func main() {
 	if *modeFlag == "print" {
 		if enabledPathTypes[pb.PathType_STORE] {
 			for k, _ := range results[nixStorePath] {
-				if *relativePath {
+				if *relativeFlag {
 					k = strings.TrimPrefix(k, *nixStoreRoot)
 					k = strings.TrimPrefix(k, "/")
 				}