Skip to content

Commit 63b3fa5

Browse files
committed
else
1 parent 27439c5 commit 63b3fa5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/Cli/dotnet/Commands/Package/List/ListPackageReferencesCommand.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,10 @@ private int RunRestore(string projectOrSolution, ReportOutputFormat formatOption
7878
"}";
7979
Console.WriteLine(jsonError);
8080
}
81-
82-
Console.WriteLine(String.Format(CultureInfo.CurrentCulture, LocalizableStrings.Error_restore));
81+
else
82+
{
83+
Console.WriteLine(String.Format(CultureInfo.CurrentCulture, LocalizableStrings.Error_restore));
84+
}
8385
}
8486

8587
return exitCode;

0 commit comments

Comments
 (0)