diff --git a/.changeset/dedupe-created-message.md b/.changeset/dedupe-created-message.md new file mode 100644 index 0000000..d4b823e --- /dev/null +++ b/.changeset/dedupe-created-message.md @@ -0,0 +1,6 @@ +--- +"@marko/create": patch +"create-marko": patch +--- + +Remove the duplicated "Project created" line at the end of the scaffold — the spinner's final message and the closing message both said it. The spinner now ends with "Project created" and the closing line starts the "Next steps". diff --git a/packages/create/src/cli.ts b/packages/create/src/cli.ts index d7b00be..a63649f 100644 --- a/packages/create/src/cli.ts +++ b/packages/create/src/cli.ts @@ -132,9 +132,7 @@ export async function run(options: CliOptions): Promise { ]; p.outro( - `Project created! Next steps:\n${steps - .map((step) => color.cyan(` ${step}`)) - .join("\n")}`, + `Next steps:\n${steps.map((step) => color.cyan(` ${step}`)).join("\n")}`, ); } catch (err) { spin.stop("Failed to create project", 1);