feat(cli): use biome js api to format all generated templates (#571)

This commit is contained in:
Aman Varshney
2025-09-11 01:28:56 +05:30
committed by GitHub
parent 5e91f79b29
commit ce97790e54
9 changed files with 293 additions and 121 deletions

View File

@@ -47,11 +47,7 @@ export async function processAndCopyFiles(
continue;
}
if (srcPath.endsWith(".hbs")) {
await processTemplate(srcPath, destPath, context);
} else {
await fs.copy(srcPath, destPath, { overwrite: true });
}
await processTemplate(srcPath, destPath, context);
}
}