Skip to content

Commit

Permalink
Use the correct error stream in persistent mode.
Browse files Browse the repository at this point in the history
RELNOTES: A bug causing diagnostics to be silently thrown out in incremental mode has been fixed.
PiperOrigin-RevId: 252451469
  • Loading branch information
allevato authored and swiple-rules-gardener committed Jun 10, 2019
1 parent 7681e42 commit ceecdc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/worker/swift_runner.cc
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ SwiftRunner::SwiftRunner(const std::vector<std::string> &args,
}

int SwiftRunner::Run(std::ostream *stderr_stream, bool stdout_to_stderr) {
int exit_code = RunSubProcess(args_, &std::cerr, /*stdout_to_stderr=*/false);
int exit_code = RunSubProcess(args_, stderr_stream, stdout_to_stderr);
return exit_code;
}

Expand Down

0 comments on commit ceecdc4

Please sign in to comment.