Skip to content

Commit de8a1b2

Browse files
committed
fix: add --yes flag to npm create astro command
Replace --skip-houston with --yes to automatically accept all prompts during Starlight documentation setup, preventing the script from hanging.
1 parent be2628b commit de8a1b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def setup_starlight(replacements: dict[str, str]) -> bool:
105105

106106
print_step("Creating Starlight documentation site...")
107107
success, output = run_command(
108-
["npm", "create", "astro@latest", "docs", "--", "--template", "starlight", "--no-git", "--skip-houston"],
108+
["npm", "create", "astro@latest", "docs", "--", "--template", "starlight", "--no-git", "--yes"],
109109
cwd=SCRIPT_DIR,
110110
)
111111
if not success:

0 commit comments

Comments
 (0)