Skip to content

Commit be5bf58

Browse files
codacy fix
1 parent 52b52b7 commit be5bf58

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/PowerShellEditorServices.Protocol/Server/DebugAdapter.cs

+4-4
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ await requestContext.SendErrorAsync(
461461
}
462462

463463
// Clear any existing breakpoints before proceeding
464-
await ClearSessionBreakpointsAsync();
464+
await ClearSessionBreakpointsAsync().ConfigureAwait(false);
465465

466466
// Execute the Debug-Runspace command but don't await it because it
467467
// will block the debug adapter initialization process. The
@@ -470,9 +470,9 @@ await requestContext.SendErrorAsync(
470470
int runspaceId = attachParams.RunspaceId > 0 ? attachParams.RunspaceId : 1;
471471
_waitingForAttach = true;
472472
Task nonAwaitedTask =
473-
_editorSession.PowerShellContext
474-
.ExecuteScriptStringAsync($"\nDebug-Runspace -Id {runspaceId}")
475-
.ContinueWith(OnExecutionCompletedAsync);
473+
_editorSession.PowerShellContext
474+
.ExecuteScriptStringAsync($"\nDebug-Runspace -Id {runspaceId}")
475+
.ContinueWith(OnExecutionCompletedAsync);
476476

477477
await requestContext.SendResultAsync(null);
478478
}

0 commit comments

Comments
 (0)