Skip to content

Commit

Permalink
feat: Adding PipeScript Keyword Template ( Fixes #1116 )
Browse files Browse the repository at this point in the history
Join-PipeScript does not require -NoTranspile
  • Loading branch information
James Brundage committed May 4, 2024
1 parent 2b6e987 commit 919362c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Template function PipeScript.Keyword {
# This will be expanded in the future.
if ($aliasNamesFound -notcontains "PipeScript.Template.Keyword.$($KeywordName)") {
$KeywordDefinition = [scriptblock]::create("[Alias('PipeScript.Template.Keyword.$($KeywordName)')]param()"), $KeywordDefinition |
Join-PipeScript -NoTranspile
Join-PipeScript
}

# Redefine the function
Expand Down

0 comments on commit 919362c

Please sign in to comment.