Skip to content

Commit

Permalink
Skip updating if StdOut is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
derekantrican committed Nov 18, 2024
1 parent 150a58b commit cf96e08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ClockworkFramework/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ await Task.Run(() =>
Utilities.WriteToConsoleWithColor(result.StdOut, ConsoleColor.DarkGreen);
if (result.StdOut.Contains("Already up to date"))
if (string.IsNullOrWhiteSpace(result.StdOut) || result.StdOut.Contains("Already up to date"))
{
Utilities.WriteToConsoleWithColor("Library is already up to date", ConsoleColor.DarkGreen);
continue;
Expand Down

0 comments on commit cf96e08

Please sign in to comment.