Skip to content

Commit

Permalink
Don't update library if UpdateRepository is turned off
Browse files Browse the repository at this point in the history
  • Loading branch information
derekantrican authored Oct 12, 2024
1 parent eaeb690 commit 7690ed1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ClockworkFramework/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,11 @@ await Task.Run(() =>
{
foreach (Library library in config.Libraries)
{
if (!library.UpdateRepository)
{
continue;
}

Console.WriteLine($"Updating library {library.Name}");

var result = Utilities.RunProcess("git pull", library.Path);
Expand Down

0 comments on commit 7690ed1

Please sign in to comment.