Added session id logging for non-interactive sessions in debug mode (#7032)
This commit is contained in:
parent
28912589d0
commit
cf5e1da69f
1 changed files with 4 additions and 0 deletions
|
|
@ -369,6 +369,10 @@ export async function main() {
|
||||||
config,
|
config,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if (config.getDebugMode()) {
|
||||||
|
console.log('Session ID: %s', sessionId);
|
||||||
|
}
|
||||||
|
|
||||||
await runNonInteractive(nonInteractiveConfig, input, prompt_id);
|
await runNonInteractive(nonInteractiveConfig, input, prompt_id);
|
||||||
process.exit(0);
|
process.exit(0);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue