diff options
author | Vincent Ambo <mail@tazj.in> | 2021-09-18T14·32+0300 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2021-12-24T10·18+0000 |
commit | 29db849849fc6744812a1f68dea418cd6d650ca9 (patch) | |
tree | 60d91eae792ca96f0f9df054b2b25215ae5ec4e8 /tools/depot-scanner/main.go | |
parent | e46521dce1d11b88a0c07e87cd4de2fa77910d12 (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/depot-scanner/main.go')
-rw-r--r-- | tools/depot-scanner/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
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, "/") } |