Skip to content

Commit 2f87803

Browse files
committed
build.ps1 - foreach-object appears to require brace on same line
1 parent e3647ea commit 2f87803

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ try
9797

9898
& $batFile
9999

100-
Get-Content $tempFile | Foreach-Object
101-
{
100+
#Brace must be on same line for foreach-object to work
101+
Get-Content $tempFile | Foreach-Object {
102102
if ($_ -match "^(.*?)=(.*)$")
103103
{
104104
Set-Content "env:\$($matches[1])" $matches[2]

0 commit comments

Comments
 (0)