diff --git a/rtmc.lua b/rtmc.lua index 5a3bc3d..26ba063 100644 --- a/rtmc.lua +++ b/rtmc.lua @@ -363,7 +363,6 @@ rawset(__BUNDLER_FILES, "updater", function () 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; @@ -401,9 +400,6 @@ rawset(__BUNDLER_FILES, "updater", function () 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 function updater:update(path, url) diff --git a/src/updater.lua b/src/updater.lua index e323d0f..a283a07 100644 --- a/src/updater.lua +++ b/src/updater.lua @@ -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