Skip to content

Commit

Permalink
chore: code clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeyDoey committed Mar 27, 2024
1 parent 1b98512 commit 7247598
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/cli/src/lib/make/utils/copy-folder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ export async function copyFolder(from: string, to: string): Promise<void> {
} else if (stats.isDirectory()) {
await copyFolder(sourcePath, destinationPath)
if (elementName === '.husky') {
// Change file mode to make files in .husky directory executable
await makeFilesExecutable(destinationPath)
}
}
Expand All @@ -46,7 +45,7 @@ export async function copyFolder(from: string, to: string): Promise<void> {

/**
*
*
* Change file mode to make files in e.g. `.husky` directory executable
* @param {string} path
* @return {*} {Promise<boolean>}
*/
Expand Down

0 comments on commit 7247598

Please sign in to comment.