From dc412459039073889afb2b397d08ba772be6a0f1 Mon Sep 17 00:00:00 2001 From: uncenter <47499684+uncenter@users.noreply.github.com> Date: Sat, 23 Dec 2023 16:25:34 -0500 Subject: [PATCH] fix(cli): display the current directory when cloning into current dir (#132) --- src/cli.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli.ts b/src/cli.ts index bf34d76..6094a88 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -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) {