feat(picker): announce scraping to user for clarification

This commit is contained in:
Barrett Ruth 2025-09-21 11:46:10 -04:00
parent 9d92021fcf
commit 3edc3db8aa

View file

@ -162,20 +162,7 @@ function M.scrape_problem(ctx)
local plugin_path = utils.get_plugin_path() local plugin_path = utils.get_plugin_path()
local args local args = {
if ctx.contest == 'cses' then
args = {
'uv',
'run',
'--directory',
plugin_path,
'-m',
'scrapers.' .. ctx.contest,
'tests',
ctx.problem_id,
}
else
args = {
'uv', 'uv',
'run', 'run',
'--directory', '--directory',
@ -186,7 +173,6 @@ function M.scrape_problem(ctx)
ctx.contest_id, ctx.contest_id,
ctx.problem_id, ctx.problem_id,
} }
end
local result = vim local result = vim
.system(args, { .system(args, {