From 8635c84cd97ec9fdce1f4a527986e2c4a8cebbb9 Mon Sep 17 00:00:00 2001 From: Sergei Vorobev Date: Tue, 19 Apr 2016 16:10:09 -0700 Subject: [PATCH] Fix typo in PowerShellGitHubDev.psm1 --- PowerShellGitHubDev.psm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PowerShellGitHubDev.psm1 b/PowerShellGitHubDev.psm1 index 203ca1f9a..c77a72e14 100644 --- a/PowerShellGitHubDev.psm1 +++ b/PowerShellGitHubDev.psm1 @@ -74,7 +74,7 @@ function Start-PSBuild { # msbuild is needed to build powershell.exe # msbuild is part of .NET Framework, we can try to get it from well-known location. - if (-nopt $NoPath -and -not (Get-Command -Name msbuild -ErrorAction Ignore)) { + if (-not $NoPath -and -not (Get-Command -Name msbuild -ErrorAction Ignore)) { Write-Verbose "Appending probable Visual C++ tools path" $env:path += ";${env:SystemRoot}\Microsoft.Net\Framework\v4.0.30319" }