File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,8 @@ public partial record class RestoreResult(bool Success, IList<string> Output)
2727 private readonly Lazy < IEnumerable < string > > restoredProjects = new ( ( ) => GetFirstGroupOnMatch ( RestoredProjectRegex ( ) , Output ) ) ;
2828 public IEnumerable < string > RestoredProjects => Success ? restoredProjects . Value : Array . Empty < string > ( ) ;
2929
30- private readonly Lazy < bool > hasNugetPackageSourceError = new ( ( ) => Output . Any ( s => s . Contains ( "NU1301" ) ) ) ;
30+ // NU1301 is the error and NU1801 is the equivalent warning.
31+ private readonly Lazy < bool > hasNugetPackageSourceError = new ( ( ) => Output . Any ( s => s . Contains ( "NU1301" ) || s . Contains ( "NU1801" ) ) ) ;
3132 public bool HasNugetPackageSourceError => hasNugetPackageSourceError . Value ;
3233
3334 private readonly Lazy < bool > hasNugetNoStablePackageVersionError = new ( ( ) => Output . Any ( s => s . Contains ( "NU1103" ) ) ) ;
You can’t perform that action at this time.
0 commit comments