mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 11:48:06 +01:00
[CI] Update verifyNoticeMdAgainstNugetPackages.ps1 to use no-restore flag
This commit is contained in:
@@ -22,7 +22,7 @@ $totalList = $projFiles | ForEach-Object -Parallel {
|
|||||||
#Workaround for preventing exit code from dotnet process from reflecting exit code in PowerShell
|
#Workaround for preventing exit code from dotnet process from reflecting exit code in PowerShell
|
||||||
$procInfo = New-Object System.Diagnostics.ProcessStartInfo -Property @{
|
$procInfo = New-Object System.Diagnostics.ProcessStartInfo -Property @{
|
||||||
FileName = "dotnet.exe";
|
FileName = "dotnet.exe";
|
||||||
Arguments = "list $csproj package";
|
Arguments = "list $csproj package --no-restore";
|
||||||
RedirectStandardOutput = $true;
|
RedirectStandardOutput = $true;
|
||||||
RedirectStandardError = $true;
|
RedirectStandardError = $true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user