Skip to content

Commit 2b2049a

Browse files
StartAutomatingStartAutomating
authored andcommitted
New-PipeScript: Fixing Typed function creation (Fixes #372)
1 parent 656b44f commit 2b2049a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

New-PipeScript.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ HTTP Accept indicates what content types the web request will accept as a respon
505505
"$functionType $FunctionName {"
506506
} elseif ($FunctionName) {
507507
# Otherwise, we declare it as a command namespace
508-
"$functionName function $functionName {"
508+
"$functionType function $functionName {"
509509
# (which means we have to transpile).
510510
$NoTranspile = $false
511511
}

0 commit comments

Comments
 (0)