Skip to content

Commit

Permalink
repair build.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
stevencohn committed Jan 18, 2022
1 parent 8ea168f commit 4134330
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ Begin

function FindVisualStudio
{
if ((Get-Command devenv) -ne $null)
$cmd = Get-Command devenv -ErrorAction:SilentlyContinue
if ($cmd -ne $null)
{
$script:devenv = (Get-Command devenv).Source
$script:devenv = $cmd.Source
return $true
}

Expand Down

0 comments on commit 4134330

Please sign in to comment.