From 93cc0adb398c0950c805f9db9e5878e61e4044c8 Mon Sep 17 00:00:00 2001 From: Bill Ferguson Date: Fri, 2 Jul 2021 21:25:36 -0400 Subject: [PATCH] bug --- tools/script_manager.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/script_manager.lua b/tools/script_manager.lua index a70ec9c..9c7e388 100644 --- a/tools/script_manager.lua +++ b/tools/script_manager.lua @@ -880,7 +880,7 @@ if sm.executables.git and clean and checkout_repo_branch(repo, "master") end end - elseif #branches and LUA_API_VER > branches[#branches] then + elseif branches ~= nil and LUA_API_VER > branches[#branches] then log.msg(log.info, "no newer branches, staying on master") -- stay on master else