Skip to content

Commit 716b598

Browse files
authored
Merge pull request #844 from github/duplicated-output
Stop printing all output twice.
2 parents ce77f88 + 1d83f2a commit 716b598

File tree

3 files changed

+1
-15
lines changed

3 files changed

+1
-15
lines changed

lib/toolrunner-error-catcher.js

Lines changed: 0 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/toolrunner-error-catcher.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/toolrunner-error-catcher.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,12 @@ export async function toolrunnerErrorCatcher(
2929
stdout += data.toString();
3030
if (options?.listeners?.stdout !== undefined) {
3131
options.listeners.stdout(data);
32-
} else {
33-
// if no stdout listener was originally defined then we match default behavior of Toolrunner
34-
process.stdout.write(data);
3532
}
3633
},
3734
stderr: (data: Buffer) => {
3835
stderr += data.toString();
3936
if (options?.listeners?.stderr !== undefined) {
4037
options.listeners.stderr(data);
41-
} else {
42-
// if no stderr listener was originally defined then we match default behavior of Toolrunner
43-
process.stderr.write(data);
4438
}
4539
},
4640
};

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy