mirror of
https://github.com/pnx/neotest-phpunit
synced 2026-07-03 11:43:40 +02:00
Fixed docker error on running full testsuite (#20)
This commit is contained in:
parent
b665a4881c
commit
1429445746
1 changed files with 4 additions and 0 deletions
|
|
@ -113,6 +113,10 @@ function NeotestAdapter.build_spec(args)
|
||||||
if config('sail_enabled') then
|
if config('sail_enabled') then
|
||||||
debug("Sail enabled, adjusting path")
|
debug("Sail enabled, adjusting path")
|
||||||
path = config('sail_project_path') .. string.sub(position.path, string.len(vim.loop.cwd() or "") + 1)
|
path = config('sail_project_path') .. string.sub(position.path, string.len(vim.loop.cwd() or "") + 1)
|
||||||
|
|
||||||
|
if position.type == "dir" then
|
||||||
|
path = ""
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
local command = vim.tbl_flatten({
|
local command = vim.tbl_flatten({
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue