Skip to content

Commit

Permalink
Dump logs to stdout instead of stderr to avoid synchronization problems.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Gavin committed Jan 26, 2021
1 parent 8705aaf commit 94b3288
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/analyze-action.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/analyze-action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ async function run() {
core.startGroup(
`CodeQL Debug Logs - ${language} - ${entry.name}`
);
process.stderr.write(
process.stdout.write(
fs.readFileSync(path.resolve(dir, entry.name))
);
core.endGroup();
Expand Down

0 comments on commit 94b3288

Please sign in to comment.