We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 688333f + 422fdbe commit ecdc74bCopy full SHA for ecdc74b
tools/script_manager.lua
@@ -210,7 +210,7 @@ end
210
local function get_current_repo_branch(repo_data)
211
local branch = nil
212
branch = string.match(repo_data, "On branch (.-)\n")
213
- log.msg(log.info, "\ncurrent rep0 branch is " .. branch)
+ log.msg(log.info, "\ncurrent repo branch is " .. branch)
214
return branch
215
end
216
@@ -880,7 +880,7 @@ if sm.executables.git and clean and
880
checkout_repo_branch(repo, "master")
881
882
883
- elseif #branches and LUA_API_VER > branches[#branches] then
+ elseif #branches > 0 and LUA_API_VER > branches[#branches] then
884
log.msg(log.info, "no newer branches, staying on master")
885
-- stay on master
886
else
0 commit comments