ci: typinf
This commit is contained in:
parent
4b6b51b8df
commit
1d8f01a2a7
1 changed files with 2 additions and 2 deletions
|
|
@ -65,13 +65,13 @@ function M.submit(opts)
|
||||||
local eff = plat_effective and plat_effective[language]
|
local eff = plat_effective and plat_effective[language]
|
||||||
if eff then
|
if eff then
|
||||||
if eff.submit_id then
|
if eff.submit_id then
|
||||||
submit_language = eff.submit_id
|
submit_language = eff.submit_id or submit_language
|
||||||
else
|
else
|
||||||
local ver = eff.version or constants.DEFAULT_VERSIONS[language]
|
local ver = eff.version or constants.DEFAULT_VERSIONS[language]
|
||||||
if ver then
|
if ver then
|
||||||
local versions = (constants.LANGUAGE_VERSIONS[platform] or {})[language]
|
local versions = (constants.LANGUAGE_VERSIONS[platform] or {})[language]
|
||||||
if versions and versions[ver] then
|
if versions and versions[ver] then
|
||||||
submit_language = versions[ver]
|
submit_language = versions[ver] or submit_language
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue