Skip to content

Commit 1228ebc

Browse files
author
Ikko Ashimine
authored
Fix typo in RemoteRunspacePoolInternal.cs (PowerShell#18263)
1 parent 50ad429 commit 1228ebc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/System.Management.Automation/engine/remoting/client/RemoteRunspacePoolInternal.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ internal override bool SetMaxRunspaces(int maxRunspaces)
347347
return true;
348348
}
349349

350-
// sending the message should be done withing the lock
350+
// sending the message should be done within the lock
351351
// to ensure that multiple calls to SetMaxRunspaces
352352
// will be executed on the server in the order in which
353353
// they were called in the client
@@ -410,7 +410,7 @@ internal override bool SetMinRunspaces(int minRunspaces)
410410
return true;
411411
}
412412

413-
// sending the message should be done withing the lock
413+
// sending the message should be done within the lock
414414
// to ensure that multiple calls to SetMinRunspaces
415415
// will be executed on the server in the order in which
416416
// they were called in the client
@@ -452,7 +452,7 @@ internal override int GetAvailableRunspaces()
452452
// return maxrunspaces
453453
if (stateInfo.State == RunspacePoolState.Opened)
454454
{
455-
// sending the message should be done withing the lock
455+
// sending the message should be done within the lock
456456
// to ensure that multiple calls to GetAvailableRunspaces
457457
// will be executed on the server in the order in which
458458
// they were called in the client

0 commit comments

Comments
 (0)