Skip to content

Commit

Permalink
format copy template code
Browse files Browse the repository at this point in the history
  • Loading branch information
gconnect committed Mar 27, 2024
1 parent a613d41 commit ef5f660
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helper/copy-template-files.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const { installDependencies } = require("./install-dependencies")
try {
const templateDir = path.resolve(__dirname,'..', templateDirectory, templateName);
const destDir = path.resolve(process.cwd(), destinationDir);
await ensureDir(destDir); // Ensure template directory exists
await ensureDir(destDir); // Ensure template directory exists
// Function to filter out .git, .env, node_modules, and package-lock.json files/directories
exludeFiles(templateDir, destDir)
await copy(templateDir, destDir);
Expand Down

0 comments on commit ef5f660

Please sign in to comment.