From 29db849849fc6744812a1f68dea418cd6d650ca9 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sat, 18 Sep 2021 17:32:58 +0300 Subject: fix(depot-scanner): Reenable CI runs (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 Autosubmit: tazjin Tested-by: BuildkiteCI --- tools/depot-scanner/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/depot-scanner/main.go') diff --git a/tools/depot-scanner/main.go b/tools/depot-scanner/main.go index 273190258958..4128fce187f0 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, "/") } -- cgit 1.4.1