From 7690ed1cd982ad757103e4156555559ffb29cca4 Mon Sep 17 00:00:00 2001 From: Derek Antrican Date: Sat, 12 Oct 2024 10:53:31 -0700 Subject: [PATCH] Don't update library if UpdateRepository is turned off --- ClockworkFramework/Program.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ClockworkFramework/Program.cs b/ClockworkFramework/Program.cs index e6a4296..1f6334a 100644 --- a/ClockworkFramework/Program.cs +++ b/ClockworkFramework/Program.cs @@ -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);