You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Failing to restore a package incorrectly returns 0:
C:\Users\zarenner>nuget restore -PackagesDirectory %temp%
Restoring NuGet package SomePackageThatDoesntExist.100.0.0.
WARNING: Unable to find version '100.0.0' of package 'SomePackageThatDoesntExist'.
Unable to find version '100.0.0' of package 'SomePackageThatDoesntExist'.
C:\Users\zarenner>echo %errorlevel%
0
Other failures correctly return 1:
C:\Users\zarenner>nuget restore sdfdsf
Could not find a part of the path 'C:\Users\zarenner\sdfdsf'.
C:\Users\zarenner>echo %errorlevel%
1
The text was updated successfully, but these errors were encountered:
Failing to restore a package incorrectly returns 0:
C:\Users\zarenner>nuget restore -PackagesDirectory %temp%
Restoring NuGet package SomePackageThatDoesntExist.100.0.0.
WARNING: Unable to find version '100.0.0' of package 'SomePackageThatDoesntExist'.
Unable to find version '100.0.0' of package 'SomePackageThatDoesntExist'.
C:\Users\zarenner>echo %errorlevel%
0
Other failures correctly return 1:
C:\Users\zarenner>nuget restore sdfdsf
Could not find a part of the path 'C:\Users\zarenner\sdfdsf'.
C:\Users\zarenner>echo %errorlevel%
1
The text was updated successfully, but these errors were encountered: