Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .changeset/easy-boxes-win.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'create-qwik': patch
---

fix: create-qwik logAppCreated.ts now displays correct next steps for deno.

After using the create-qwik command, the logAppCreated.ts file was not displaying the correct next steps for deno. Prior to this fix it would display "deno start" instead of "deno task start". This would cause a failure to run, as deno requires the 'task' keyword. This fixes bug 7520
6 changes: 5 additions & 1 deletion packages/create-qwik/src/helpers/logAppCreated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ export function logAppCreated(pkgManager: string, result: CreateAppResult, ranIn
if (!ranInstall) {
outString.push(` ${pkgManager} install`);
}
outString.push(` ${pkgManager} start`);
if (pkgManager === 'deno') {
outString.push(` deno task start`);
} else {
outString.push(` ${pkgManager} start`);
}
outString.push(``);

note(outString.join('\n'), 'Result');
Expand Down