Dump logs to stdout instead of stderr to avoid synchronization problems.
This commit is contained in:
parent
8705aaff32
commit
94b32884f9
2 changed files with 2 additions and 2 deletions
2
lib/analyze-action.js
generated
2
lib/analyze-action.js
generated
|
|
@ -78,7 +78,7 @@ async function run() {
|
|||
for (const entry of entries) {
|
||||
if (entry.isFile()) {
|
||||
core.startGroup(`CodeQL Debug Logs - ${language} - ${entry.name}`);
|
||||
process.stderr.write(fs.readFileSync(path.resolve(dir, entry.name)));
|
||||
process.stdout.write(fs.readFileSync(path.resolve(dir, entry.name)));
|
||||
core.endGroup();
|
||||
}
|
||||
else if (entry.isDirectory()) {
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue