mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 11:06:54 -04:00
fix(scripts): guard against empty reply when checking new revisions
This commit is contained in:
parent
19c729dae6
commit
ac1d0ff910
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue