#2: Fix run_command invocation

This commit is contained in:
mtkennerly 2023-03-28 15:48:23 +08:00
parent 339edcd818
commit 2c98d04fa2
No known key found for this signature in database
GPG key ID: E764BE00BE6E6408

View file

@ -43,7 +43,7 @@ def main() -> None:
elif install == "latest": elif install == "latest":
run_command("pip install dunamai") run_command("pip install dunamai")
else: else:
run_command("pip install dunamai=={}", install) run_command("pip install dunamai=={}".format(install))
version = run_command("{} {}".format(command, args)) version = run_command("{} {}".format(command, args))
set_output("version", version) set_output("version", version)