Skip to content

Commit 23ba657

Browse files
JustinGroteCopilot
andauthored
Update src/session.ts
Co-authored-by: Copilot <[email protected]>
1 parent 037fb49 commit 23ba657

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/session.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -459,8 +459,8 @@ export class SessionManager implements Middleware {
459459
const debugPowerShellExeDetails =
460460
powershellExeName === undefined
461461
? this.PowerShellExeDetails
462-
: ((await this.findPowerShell(powershellExeName)) ??
463-
this.PowerShellExeDetails);
462+
: await this.findPowerShell(powershellExeName) ??
463+
this.PowerShellExeDetails;
464464

465465
// TODO: It might not be totally necessary to update the session
466466
// settings here, but I don't want to accidentally change this behavior

0 commit comments

Comments
 (0)