Skip to content

Commit

Permalink
fix(bazel): maven_jar: expect/handle (null) after dependency in the o…
Browse files Browse the repository at this point in the history
…utput of the first query; IDETECT-2152
  • Loading branch information
Steve Billings committed Jul 31, 2020
1 parent cdfc103 commit 1e0993c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public Pipelines(BazelCommandExecutor bazelCommandExecutor, BazelVariableSubstit
Pipeline mavenJarPipeline = (new PipelineBuilder())
.addIntermediateStep(new IntermediateStepExecuteBazelOnEach(bazelCommandExecutor, bazelVariableSubstitutor,
Arrays.asList(CQUERY_COMMAND, CQUERY_OPTIONS_PLACEHOLDER, "filter('@.*:jar', deps(${detect.bazel.target}))"), false))
.addIntermediateStep(new IntermediateStepReplaceInEach(" \\([0-9a-f]+\\)", ""))
.addIntermediateStep(new IntermediateStepReplaceInEach(" \\([0-9a-z]+\\)", ""))
.addIntermediateStep(new IntermediateStepSplitEach("\\s+"))
.addIntermediateStep(new IntermediateStepReplaceInEach("^@", ""))
.addIntermediateStep(new IntermediateStepReplaceInEach("//.*", ""))
Expand Down

0 comments on commit 1e0993c

Please sign in to comment.