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 <mail@tazj.in>
Autosubmit: tazjin <mail@tazj.in>
Tested-by: BuildkiteCI
This commit is contained in:
Vincent Ambo 2021-09-18 17:32:58 +03:00 committed by clbot
parent e46521dce1
commit 29db849849
2 changed files with 2 additions and 2 deletions

View file

@ -13,4 +13,4 @@ in depot.nix.buildGo.program {
deps = [
localProto
];
} // { inherit localProto; meta.ci = false; }
} // { inherit localProto; }

View file

@ -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, "/")
}