fix(scripts): guard against empty reply when checking new revisions

This commit is contained in:
Christian Clason 2026-01-31 11:01:43 +01:00 committed by Christian Clason
parent 19c729dae6
commit ac1d0ff910

View file

@ -64,7 +64,7 @@ for k, p in pairs(parsers) do
sha = stdout[line] and vim.split(stdout[line], '\t')[1]
end
if sha and info.revision ~= sha then
if sha and sha ~= '' and info.revision ~= sha then
info.revision = sha
updates[#updates + 1] = name
end