Skip to content

Commit 6b368f9

Browse files
committed
feat: skip file cleanup if installation is skipped
1 parent a13ac6a commit 6b368f9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/create/createWithOptions.ts

+6-6
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ export async function createWithOptions({ github, options }: GitHubAndOptions) {
3636
await withSpinner("Installing packages", async () =>
3737
finalizeDependencies(options),
3838
);
39-
}
4039

41-
await runCommands("Cleaning up files", [
42-
"pnpm dedupe",
43-
"pnpm lint --fix",
44-
"pnpm format --write",
45-
]);
40+
await runCommands("Cleaning up files", [
41+
"pnpm dedupe",
42+
"pnpm lint --fix",
43+
"pnpm format --write",
44+
]);
45+
}
4646

4747
const sendToGitHub =
4848
github && (await doesRepositoryExist(github.octokit, options));

0 commit comments

Comments
 (0)