Skip to content

Commit

Permalink
fix type on RunCommand.run_script
Browse files Browse the repository at this point in the history
  • Loading branch information
wagnerluis1982 committed Oct 7, 2022
1 parent 04acf55 commit fcd6a12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/poetry/console/commands/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def _module(self) -> Module:

return module

def run_script(self, script: str | dict[str, str], args: str) -> int:
def run_script(self, script: str | dict[str, str], args: list[str]) -> int:
# Calling `sys.argv` should run the same program as the currently
# running program. To make calling Poetry scripts through RunCommand
# match this behavior, we must set `sys.argv[0]` to be the full path of
Expand Down

0 comments on commit fcd6a12

Please sign in to comment.