:3
This commit is contained in:
parent
f41e343970
commit
f83565a402
2
rtmc.lua
2
rtmc.lua
|
@ -389,7 +389,7 @@ rawset(__BUNDLER_FILES, "updater", function ()
|
||||||
if self.curr_commit_hash == "" then
|
if self.curr_commit_hash == "" then
|
||||||
log.debug("No commit hash found, setting");
|
log.debug("No commit hash found, setting");
|
||||||
self.curr_commit_hash = data[1].hash;
|
self.curr_commit_hash = data[1].hash;
|
||||||
elseif data[1].hash == self.curr_commit_hash then
|
elseif data[1].hash ~= self.curr_commit_hash then
|
||||||
log.debug("Commit hash doesnt match, probbably an update");
|
log.debug("Commit hash doesnt match, probbably an update");
|
||||||
return true;
|
return true;
|
||||||
end
|
end
|
||||||
|
|
|
@ -72,7 +72,7 @@ function updater:check(branch)
|
||||||
if self.curr_commit_hash == "" then
|
if self.curr_commit_hash == "" then
|
||||||
log.debug("No commit hash found, setting");
|
log.debug("No commit hash found, setting");
|
||||||
self.curr_commit_hash = data[1].hash;
|
self.curr_commit_hash = data[1].hash;
|
||||||
elseif data[1].hash == self.curr_commit_hash then
|
elseif data[1].hash ~= self.curr_commit_hash then
|
||||||
log.debug("Commit hash doesnt match, probbably an update");
|
log.debug("Commit hash doesnt match, probbably an update");
|
||||||
return true;
|
return true;
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user