Skip to content

Commit 5eb4acf

Browse files
committed
fix: correct npm create astro argument order for starlight setup
1 parent 2684d62 commit 5eb4acf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def setup_starlight(replacements: dict[str, str]) -> bool:
121121

122122
print_step("Creating Starlight documentation site...")
123123
success, output = run_command_live(
124-
["npm", "create", "astro@latest", "docs", "--", "--template", "starlight", "--no-git", "--yes"],
124+
["npm", "create", "astro@latest", "docs", "--yes", "--", "--template", "starlight", "--no-git", "--install"],
125125
cwd=SCRIPT_DIR,
126126
)
127127
if not success:
@@ -333,4 +333,4 @@ def main() -> int:
333333

334334

335335
if __name__ == "__main__":
336-
sys.exit(main())
336+
sys.exit(main())

0 commit comments

Comments
 (0)