fix(#620): Fall into the "update-all" branch if lang is "all"

This commit is contained in:
BodneyC 2020-10-28 08:08:52 +00:00 committed by Stephan Seitz
parent d9454afd93
commit 333e1ab776

View file

@ -208,7 +208,7 @@ end
function M.update(lang)
reset_progress_counter()
if lang then
if lang and lang ~= 'all' then
install(false, 'force')(lang)
else
local installed = info.installed_parsers()