Skip to content

Commit

Permalink
Don't report an error when oneversion tool is not available
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 480424274
Change-Id: I3398e2825482634b91c118883312437d3f1c1fad
  • Loading branch information
comius authored and copybara-github committed Oct 11, 2022
1 parent ff927f7 commit 849f706
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ public Artifact build(RuleContext ruleContext) {
FilesToRunProvider oneVersionTool = javaToolchain.getOneVersionBinary();
Artifact oneVersionAllowlist = javaToolchain.getOneVersionAllowlist();
if (oneVersionTool == null || oneVersionAllowlist == null) {
addRuleErrorForMissingArtifacts(ruleContext, javaToolchain);
return outputArtifact;
}

Expand Down

0 comments on commit 849f706

Please sign in to comment.