Skip to content

Commit

Permalink
Do not put blaze-grepped_includes_<lang> files inside tree artifact d…
Browse files Browse the repository at this point in the history
…irectories

RELNOTES: None.
PiperOrigin-RevId: 266890605
  • Loading branch information
hlopko authored and copybara-github committed Sep 3, 2019
1 parent ce02a4d commit e6f2f5b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -283,8 +283,9 @@ public Collection<Inclusion> extractInclusions(
ActionExecutionContext actionExecutionContext,
Artifact grepIncludes,
GrepIncludesFileType fileType,
boolean placeNextToFile)
boolean isOutputFile)
throws IOException, ExecException, InterruptedException {
boolean placeNextToFile = isOutputFile && !file.hasParent();
Path output = getIncludesOutput(file, actionExecutionContext.getPathResolver(), fileType,
placeNextToFile);
if (!inMemoryOutput) {
Expand Down

0 comments on commit e6f2f5b

Please sign in to comment.