fix: process.stdout.write instead of console.log for export cmd (#3049)
This commit is contained in:
parent
3ed4f1078f
commit
c5b5795636
1 changed files with 2 additions and 1 deletions
|
|
@ -66,7 +66,8 @@ export const ExportCommand = cmd({
|
|||
})),
|
||||
}
|
||||
|
||||
console.log(JSON.stringify(exportData, null, 2))
|
||||
process.stdout.write(JSON.stringify(exportData, null, 2))
|
||||
process.stdout.write("\n")
|
||||
} catch (error) {
|
||||
UI.error(`Session not found: ${sessionID!}`)
|
||||
process.exit(1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue