Merge pull request #104 from radarhere/ci-appveyor-depends

This commit is contained in:
Hugo van Kemenade 2023-09-20 05:47:06 -06:00 committed by GitHub
commit 6e58b34f65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,14 +41,9 @@ def cmd_rmdir(path: str) -> str:
def cmd_nmake( def cmd_nmake(
makefile: str | None = None, makefile: str | None = None,
target: str = "", target: str = "",
params: str | list[str] | tuple[str, ...] = None, params: list[str] | None = None,
) -> str: ) -> str:
if params is None: params = "" if params is None else " ".join(params)
params = ""
elif isinstance(params, (list, tuple)):
params = " ".join(params)
else:
params = str(params)
return " ".join( return " ".join(
[ [