Skip to content

Commit 14a3bf9

Browse files
author
James Brundage
committed
Fixing return issue with ValidateTypes transpiler (#65)
1 parent d3fbc2c commit 14a3bf9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Transpilers/Parameters/ValidateTypes.psx.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ $checkTypes
9090
if (-not `$isTypeOk) {
9191
throw "Unexpected type '`$(@(`$thisType)[0])'. Must be '$($typeName -join "','")'."
9292
}
93+
return `$true
9394
})]
9495
param()
9596
"@)

0 commit comments

Comments
 (0)