Skip to content

Commit f3008df

Browse files
fix: format client.ts with prettier
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 9b45bf3 commit f3008df

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

nodejs/src/client.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1386,8 +1386,14 @@ export class CopilotClient {
13861386
args.push("--no-auto-login");
13871387
}
13881388

1389-
if (this.options.sessionIdleTimeoutSeconds !== undefined && this.options.sessionIdleTimeoutSeconds > 0) {
1390-
args.push("--session-idle-timeout", this.options.sessionIdleTimeoutSeconds.toString());
1389+
if (
1390+
this.options.sessionIdleTimeoutSeconds !== undefined &&
1391+
this.options.sessionIdleTimeoutSeconds > 0
1392+
) {
1393+
args.push(
1394+
"--session-idle-timeout",
1395+
this.options.sessionIdleTimeoutSeconds.toString()
1396+
);
13911397
}
13921398

13931399
// Suppress debug/trace output that might pollute stdout

0 commit comments

Comments
 (0)