Skip to content

Commit 5150334

Browse files
lucemansTommypop2
authored andcommitted
Fix getting started command when directory is "."
1 parent 1127dfa commit 5150334

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/create/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@ export const createSolid = (version: string) =>
159159
// Next steps..
160160
const pM = detectPackageManager();
161161
p.note(
162-
`cd ${projectName}
163-
${pM.name} install
162+
projectName === "." ? "" : `cd ${projectName}\n` +
163+
`${pM.name} install
164164
${pM.name} ${pM.runScriptCommand("dev")}`,
165165
"To get started, run:",
166166
);

0 commit comments

Comments
 (0)