Skip to content

Commit 4362a3c

Browse files
author
James Brundage
committed
feat: Get-WebSocket improved piping ( Fixes #87 )
Updating test for ThreadJob type
1 parent ed9f4e1 commit 4362a3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: Commands/Get-WebSocket.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -1146,7 +1146,7 @@ function Get-WebSocket {
11461146
# So, start off by capturing $_
11471147
$inputObject = $_
11481148
# If the input was a job, we might remap a parameter
1149-
if ($inputObject -is [ThreadJob.ThreadJob]) {
1149+
if ($inputObject -is 'ThreadJob.ThreadJob') {
11501150
if ($inputObject.WebSocket -is [Net.WebSockets.ClientWebSocket] -and
11511151
$inputObject.SocketUrl) {
11521152
$SocketUrl = $inputObject.SocketUrl

0 commit comments

Comments
 (0)