Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/Sheweny/cli into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Smaug6739 committed Dec 19, 2021
2 parents b5fec6c + da78c81 commit 50fcd1c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 25 deletions.
28 changes: 6 additions & 22 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions src/commands/create/util/copyFiles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ export async function copyFiles(
target: string = options.targetDirectory!
): Promise<void> {
try {
console.log(template);

const templateFiles = await readdir(template);
for (const file of templateFiles) {
const fileStat = await stat(resolve(template, file));
Expand All @@ -32,7 +30,6 @@ export async function copyFiles(
}
}
} catch (err) {
console.error(err);
console.log(`${chalk.red.bold("ERROR")} An error occurred while copying the files`);
return process.exit(1);
}
Expand Down

0 comments on commit 50fcd1c

Please sign in to comment.