1
0
Fork 0
mirror of https://github.com/pnx/neotest-phpunit synced 2026-06-16 03:54:55 +02:00

Fixed docker error on running full testsuite (#20)

This commit is contained in:
Unain 2025-08-07 15:39:56 +02:00 committed by GitHub
parent b665a4881c
commit 1429445746
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -113,6 +113,10 @@ function NeotestAdapter.build_spec(args)
if config('sail_enabled') then
debug("Sail enabled, adjusting path")
path = config('sail_project_path') .. string.sub(position.path, string.len(vim.loop.cwd() or "") + 1)
if position.type == "dir" then
path = ""
end
end
local command = vim.tbl_flatten({