Skip to content

Commit dd83921

Browse files
committed
Fix issues caught by PoliCheck
1 parent 2a7de01 commit dd83921

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/PowerShellEditorServices/Services/PowerShellContext/PowerShellContextService.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ public async Task<IEnumerable<TResult>> ExecuteCommandAsync<TResult>(
635635

636636
if (shouldCancelReadLine && PromptNest.IsReadLineBusy())
637637
{
638-
// If a ReadLine pipeline is running in the debugger then we'll hang here
638+
// If a ReadLine pipeline is running in the debugger then we'll stop responding here
639639
// if we don't cancel it. Typically we can rely on OnExecutionStatusChanged but
640640
// the pipeline request won't even start without clearing the current task.
641641
this.ConsoleReader?.StopCommandLoop();
@@ -1895,7 +1895,7 @@ private void PowerShellContext_RunspaceChangedAsync(object sender, RunspaceChang
18951895

18961896

18971897
// TODO: Refactor this, RunspaceDetails, PowerShellVersion, and PowerShellVersionDetails
1898-
// It's crazy that this is 4 different types.
1898+
// It's odd that this is 4 different types.
18991899
// P.S. MinifiedRunspaceDetails use to be called RunspaceDetails... as in, there were 2 DIFFERENT
19001900
// RunspaceDetails types in this codebase but I've changed it to be minified since the type is
19011901
// slightly simpler than the other RunspaceDetails.

test/PowerShellEditorServices.Test/Debugging/DebugServiceTests.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// TODO: Fix these tests which cause the test runner to hang...
1+
// TODO: Fix these tests which cause the test runner to stop responding...
22

33
// //
44
// // Copyright (c) Microsoft. All rights reserved.

0 commit comments

Comments
 (0)