Skip to content

Commit

Permalink
build.ps1 - missed a foreach-object brace on same line
Browse files Browse the repository at this point in the history
  • Loading branch information
amaitland committed Apr 17, 2018
1 parent 2f87803 commit 0e43a44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -336,8 +336,8 @@ try

$StartInfo.EnvironmentVariables.Clear()

Get-ChildItem -Path env:* | ForEach-Object
{
#Brace must be on same line for foreach-object to work
Get-ChildItem -Path env:* | ForEach-Object {
$StartInfo.EnvironmentVariables.Add($_.Name, $_.Value)
}

Expand Down

0 comments on commit 0e43a44

Please sign in to comment.