Skip to content

Commit 4d3bde2

Browse files
natemoo-regithub-actions[bot]
authored andcommitted
[ci] format
1 parent 5f43969 commit 4d3bde2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/commands/init.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ import type { CommandContext } from "../context.ts";
77
export async function init(ctx: CommandContext) {
88
const [_name = "."] = ctx.args;
99
const cwdUrl = pathToFileURL(`${cwd()}/`);
10-
const name = _name === "." ? new URL("../", cwdUrl).pathname.split("/").filter(Boolean).pop()! : _name;
10+
const name =
11+
_name === "." ? new URL("../", cwdUrl).pathname.split("/").filter(Boolean).pop()! : _name;
1112
const dest = new URL("./.temp/", cwdUrl);
1213
for await (const line of x("pnpx", ["giget@latest", "gh:bombshell-dev/template", name])) {
1314
console.log(line);

0 commit comments

Comments
 (0)