Skip to content

Commit

Permalink
Put grepped_includes file into a separate directory for tree file art…
Browse files Browse the repository at this point in the history
…ifacts also in async mode.

This was missed in e6f2f5b

RELNOTES: None.
PiperOrigin-RevId: 267587005
  • Loading branch information
hlopko authored and copybara-github committed Sep 6, 2019
1 parent a0e3bb2 commit 0b3a7dd
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -393,8 +393,9 @@ public ListenableFuture<Collection<Inclusion>> extractInclusionsAsync(
ActionExecutionContext actionExecutionContext,
Artifact grepIncludes,
GrepIncludesFileType fileType,
boolean placeNextToFile)
boolean isOutputFile)
throws IOException {
boolean placeNextToFile = isOutputFile && !file.hasParent();
Path output =
getIncludesOutput(
file, actionExecutionContext.getPathResolver(), fileType, placeNextToFile);
Expand Down

0 comments on commit 0b3a7dd

Please sign in to comment.