Skip to content

Commit

Permalink
Use spaces instead tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
eliangcs committed Feb 1, 2024
1 parent 52fba09 commit a826667
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions packages/cli/src/utils/files.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,21 +86,21 @@ const copyFile = (src, dest, mode) => {
/*
Returns a promise that copies a directory recursively.
Options:
- clobber: Overwrite existing files? Default is false.
- filter:
A function that returns true if the file should be copied. By default, it
ignores node_modules and .zip files.
- onCopy:
A function called when a file is copied. Takes the destination path as an
argument.
- onSkip:
A function called when a file is skipped. Takes the destination path as an
argument.
- onDirExists:
A function called when a directory exists. Takes the destination path as
an argument. Returns true to carry on copying. Returns false to skip.
Options:
- clobber: Overwrite existing files? Default is false.
- filter:
A function that returns true if the file should be copied. By default, it
ignores node_modules and .zip files.
- onCopy:
A function called when a file is copied. Takes the destination path as an
argument.
- onSkip:
A function called when a file is skipped. Takes the destination path as an
argument.
- onDirExists:
A function called when a directory exists. Takes the destination path as
an argument. Returns true to carry on copying. Returns false to skip.
*/
const copyDir = async (src, dst, options) => {
const defaultFilter = (srcPath) => {
Expand Down

0 comments on commit a826667

Please sign in to comment.