fix: assing script path var (#18)

This commit is contained in:
Nick
2022-10-03 10:44:16 +03:00
committed by GitHub
parent 143aacd04e
commit eb8fa2c48c

View File

@@ -126,9 +126,10 @@ function PythonNeotestAdapter.build_spec(args)
if position then if position then
table.insert(script_args, position.id) table.insert(script_args, position.id)
end end
local python_script = get_script()
local command = vim.tbl_flatten({ local command = vim.tbl_flatten({
python, python,
get_script(), python_script,
script_args, script_args,
}) })
local strategy_config = get_strategy_config(args.strategy, python, python_script, script_args) local strategy_config = get_strategy_config(args.strategy, python, python_script, script_args)