:3
This commit is contained in:
@@ -41,7 +41,6 @@ end
|
||||
function updater:checkAndUpdateAll()
|
||||
local updated = false;
|
||||
for path, entry in pairs(self.updated_files) do
|
||||
log.debug("Checking update for " .. path);
|
||||
if self:check(entry.branch) then
|
||||
self:update(path, entry.url);
|
||||
updated = true;
|
||||
@@ -83,9 +82,6 @@ function updater:check(branch)
|
||||
log.debug("Commit hash doesnt match, probbably an update");
|
||||
return true;
|
||||
end
|
||||
if branch == "main" then
|
||||
log.debug("No need for an update");
|
||||
end
|
||||
return false;
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user