Skip to content

Commit 656b44f

Browse files
author
James Brundage
committed
New-PipeScript: Fixing Typed function creation (Fixes #372)
1 parent fcf0c6c commit 656b44f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

New-PipeScript.ps1.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ HTTP Accept indicates what content types the web request will accept as a respon
487487
"$functionType $FunctionName {"
488488
} elseif ($FunctionName) {
489489
# Otherwise, we declare it as a command namespace
490-
"$functionName function $functionName {"
490+
"$functionType function $functionName {"
491491
# (which means we have to transpile).
492492
$NoTranspile = $false
493493
}

0 commit comments

Comments
 (0)