Skip to content

Commit b14107c

Browse files
committed
Plumb through cancellation token properly
1 parent 075c0b0 commit b14107c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PSReadLine/ReadLine.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ public static string ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsi
323323
/// </summary>
324324
public static string ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics, CancellationToken cancellationToken)
325325
{
326-
return ReadLine(runspace, engineIntrinsics, _defaultCancellationToken, lastRunStatus: null);
326+
return ReadLine(runspace, engineIntrinsics, cancellationToken, lastRunStatus: null);
327327
}
328328

329329
/// <summary>

0 commit comments

Comments
 (0)