Skip to content

Commit e9b267f

Browse files
author
James Brundage
committed
Receive-OBS: Replacing _ with . in InputKind decoration (re #54)
1 parent b4568a0 commit e9b267f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Commands/Receive-OBS.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ function Receive-OBS
132132
}
133133

134134
if ($responseObject.inputKind) {
135-
$responseObject.pstypenames.add("OBS.Input.$($responseObject.inputKind)")
135+
$responseObject.pstypenames.add("OBS.Input.$($responseObject.inputKind -replace '_', '.')")
136136
}
137137
# Decorate the response with the command name and OBS.requestype.response
138138
$responseObject.pstypenames.add("$myCmd")

0 commit comments

Comments
 (0)