Skip to content

Commit

Permalink
Fix variable name in common.lib.ps1 (#3985)
Browse files Browse the repository at this point in the history
  • Loading branch information
Haplois authored Sep 1, 2022
1 parent efa3b0c commit 99e22f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/common.lib.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -361,12 +361,12 @@ function Start-InlineProcess {
$outputHandler = [ProcessOutputter]::new("White", "Yellow", "Red", $SuppressOutput.IsPresent)
$errorHandler = [ProcessOutputter]::new("White", "Yellow", "Red", $SuppressOutput.IsPresent)
$outputDataReceived = $outputHandler.OutputHandler
$errorDataReceivedEvent = $errorHandler.OutputHandler
$errorDataReceived = $errorHandler.OutputHandler

$process = New-Object System.Diagnostics.Process
$process.EnableRaisingEvents = $true
$process.add_OutputDataReceived($outputDataReceived)
$process.add_ErrorDataReceived($errorDataReceivedEvent)
$process.add_ErrorDataReceived($errorDataReceived)

try {
$process.StartInfo = $processInfo
Expand Down

0 comments on commit 99e22f7

Please sign in to comment.