From 72475985fd577b13d3ae373019f064e62450e062 Mon Sep 17 00:00:00 2001 From: JoeyDoey Date: Tue, 26 Mar 2024 19:45:17 -0700 Subject: [PATCH] chore: code clean up --- packages/cli/src/lib/make/utils/copy-folder.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/cli/src/lib/make/utils/copy-folder.ts b/packages/cli/src/lib/make/utils/copy-folder.ts index 643842bb..6d16439d 100644 --- a/packages/cli/src/lib/make/utils/copy-folder.ts +++ b/packages/cli/src/lib/make/utils/copy-folder.ts @@ -34,7 +34,6 @@ export async function copyFolder(from: string, to: string): Promise { } else if (stats.isDirectory()) { await copyFolder(sourcePath, destinationPath) if (elementName === '.husky') { - // Change file mode to make files in .husky directory executable await makeFilesExecutable(destinationPath) } } @@ -46,7 +45,7 @@ export async function copyFolder(from: string, to: string): Promise { /** * - * + * Change file mode to make files in e.g. `.husky` directory executable * @param {string} path * @return {*} {Promise} */