Skip to content

Commit bafa538

Browse files
committed
Fixed another mypy issue
prelude\toolchains\msvc\vswhere.py:277: error: Argument 1 to "check_output" has incompatible type "list[object]"; expected "str | bytes | PathLike[str] | PathLike[bytes] | Sequence[str | bytes | PathLike[str] | PathLike[bytes]]" [arg-type]
1 parent 07923a1 commit bafa538

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

prelude/toolchains/msvc/vswhere.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ def get_ewdk_env(ewdkdir: Path) -> dict[str, str]:
273273
print("set", file=tmp)
274274

275275
env_script = ewdkdir / "BuildEnv" / "SetupBuildEnv.cmd"
276-
cmd = [tmp.name, env_script, "amd64"]
276+
cmd = [tmp.name, str(env_script), "amd64"]
277277
output = subprocess.check_output(cmd).decode("utf-8")
278278

279279
env = {}

0 commit comments

Comments
 (0)