Skip to content

Commit 0a56e58

Browse files
committed
fix: adjust itertools.chain to use from iterable in release-demo
1 parent 78af6dc commit 0a56e58

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/release-demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def _create_demo_release_pr() -> None:
8181
"--assignee": "@me",
8282
"--base": "main",
8383
}
84-
command: list[str] = ["gh", "pr", "create", *itertools.chain(pr_kwargs.items())]
84+
command: list[str] = ["gh", "pr", "create", *itertools.chain.from_iterable(pr_kwargs.items())]
8585
subprocess.run(command, check=True)
8686

8787

0 commit comments

Comments
 (0)