Skip to content

Commit 28f3840

Browse files
Update src/PowerShellEditorServices.Protocol/Server/DebugAdapter.cs
It's neat that we can just commit a suggestion. Co-Authored-By: adamdriscoll <[email protected]>
1 parent cbe5b18 commit 28f3840

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PowerShellEditorServices.Protocol/Server/DebugAdapter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ await requestContext.SendErrorAsync(
470470
// InitializedEvent will be sent as soon as the RunspaceChanged
471471
// event gets fired with the attached runspace.
472472

473-
int runspaceId = 1;
473+
var runspaceId = 1;
474474
if (!int.TryParse(attachParams.RunspaceId, out runspaceId) || runspaceId <= 0)
475475
{
476476
Logger.Write(

0 commit comments

Comments
 (0)