Skip to content

Commit

Permalink
fix(cli): display the current directory when cloning into current dir (
Browse files Browse the repository at this point in the history
  • Loading branch information
uncenter committed Dec 23, 2023
1 parent 3e58ae6 commit dc41245
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const mainCommand = defineCommand({
});

const _from = r.name || r.url;
const _to = relative(process.cwd(), r.dir);
const _to = relative(process.cwd(), r.dir) || "./";
consola.log(`✨ Successfully cloned \`${_from}\` to \`${_to}\`\n`);

if (args.shell) {
Expand Down

0 comments on commit dc41245

Please sign in to comment.