Print success message to stderr after headless
Summary: Adding some verbose logging for remote debugging during integrations. Reviewed By: passy Differential Revision: D16039055 fbshipit-source-id: 963e0be5ac1526badbd71b9ef2f4906bec2f13ed
This commit is contained in:
committed by
Facebook Github Bot
parent
30b7d4e9dd
commit
2f5f69a2c8
@@ -109,6 +109,7 @@ function shouldExportMetric(metrics): boolean {
|
||||
}
|
||||
|
||||
function outputAndExit(output: string): void {
|
||||
console.log(`Finished. Outputting ${output.length} characters.`);
|
||||
process.stdout.write(output, () => {
|
||||
process.exit(0);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user