fix: also convert --import resolver path to file URL for Windows
The spawnSync --import flag also receives a bare Windows path. Convert it with pathToFileURL like the script import. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
702f1a578c
commit
958b8e752d
1 changed files with 1 additions and 1 deletions
|
|
@ -269,7 +269,7 @@ test("verification-gate: no DEP0190 deprecation warning when running commands",
|
|||
[
|
||||
"--throw-deprecation",
|
||||
"--experimental-strip-types",
|
||||
"--import", resolverPath,
|
||||
"--import", pathToFileURL(resolverPath).href,
|
||||
"--input-type=module",
|
||||
"-e", script,
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue