We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e054961 commit d7697a4Copy full SHA for d7697a4
Transpilers/Keywords/Until.psx.ps1
@@ -64,6 +64,7 @@
64
)
65
66
})]
67
+[Reflection.AssemblyMetadata("PipeScript.Keyword",$true)]
68
param(
69
[Parameter(Mandatory,ValueFromPipeline,ParameterSetName='CommandAst')]
70
[Management.Automation.Language.CommandAst]
@@ -130,7 +131,7 @@ process {
130
131
}
132
else {
133
$beforeLoop = "$untilVar = [DateTime]::Now"
- $condition = 'Get-Event -SourceIdentifier ' + "'$condition'" + " -ErrorAction Ignore | Where-Object TimeGenerated -ge $untilVar"
134
+ $condition = '(Get-Event -SourceIdentifier ' + "'$condition'" + " -ErrorAction Ignore | Where-Object TimeGenerated -ge $untilVar)"
135
136
137
0 commit comments