ci: format
This commit is contained in:
parent
297c71e7c7
commit
90eedeb55f
1 changed files with 2 additions and 1 deletions
|
|
@ -44,7 +44,8 @@ local function run_scraper(platform, subcommand, args, opts)
|
||||||
return { success = false, error = msg }
|
return { success = false, error = msg }
|
||||||
end
|
end
|
||||||
|
|
||||||
local needs_browser = subcommand == 'submit' or subcommand == 'login'
|
local needs_browser = subcommand == 'submit'
|
||||||
|
or subcommand == 'login'
|
||||||
or (platform == 'codeforces' and (subcommand == 'metadata' or subcommand == 'tests'))
|
or (platform == 'codeforces' and (subcommand == 'metadata' or subcommand == 'tests'))
|
||||||
|
|
||||||
if needs_browser then
|
if needs_browser then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue