Skip to content

Commit ccc2783

Browse files
committed
Fix linting issues
1 parent fb64316 commit ccc2783

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/features/DebugSession.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,10 @@ export class DebugSessionFeature extends LanguageClientConsumer
151151
}
152152

153153
// Wire up a handler to capture the dotnet session and stop it before PowerShell, otherwise it will emit an error that its process unexpectedly stopped.
154-
let dotnetAttachStartHandler: Disposable[] = []
154+
const dotnetAttachStartHandler: Disposable[] = [];
155155
vscode.debug.onDidStartDebugSession((dotnetAttachSession) => {
156156
this.logger.write(`Debugger session detected: ${dotnetAttachSession.name} (${dotnetAttachSession.id})`);
157-
let dotnetAttachStopHandler: Disposable[] = [];
157+
const dotnetAttachStopHandler: Disposable[] = [];
158158
if (dotnetAttachSession.configuration.name == dotnetDebuggerConfig.name) {
159159
vscode.debug.onDidTerminateDebugSession(async (terminatedDebugSession) => {
160160
this.logger.write(`Debugger session stopped: ${terminatedDebugSession.name} (${terminatedDebugSession.id})`);

0 commit comments

Comments
 (0)