remove caching in degit

This commit is contained in:
Aman Varshney
2025-02-15 13:19:03 +05:30
parent c03c469838
commit 7181751913
2 changed files with 6 additions and 3 deletions

View File

@@ -0,0 +1,5 @@
---
"create-better-t-stack": patch
---
remove caching in degit

View File

@@ -24,9 +24,7 @@ export async function createProject(options: ProjectConfig) {
title: "📥 Cloning template repository",
task: async () => {
try {
const emitter = degit("better-t-stack/Better-T-Stack#bare", {
cache: true,
});
const emitter = degit("better-t-stack/Better-T-Stack#bare");
await emitter.clone(projectDir);
} catch (error) {
log.error(pc.red("Failed to clone template repository"));