Skip to content

Commit 916462b

Browse files
committed
Document copySync filter inconsistency
1 parent 0314876 commit 916462b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ Options:
129129
- clobber (boolean): overwrite existing file or directory, default is `true`.
130130
- dereference (boolean): dereference symlinks, default is `false`.
131131
- preserveTimestamps (boolean): will set last modification and access times to the ones of the original source files, default is `false`.
132-
- filter: Function to filter copied files. Return `true` to include, `false` to exclude. This can also be a RegExp, however this is deprecated (See [issue #239](https://github.com/jprichardson/node-fs-extra/issues/239) for background).
132+
- filter: Function to filter copied files. Return `true` to include, `false` to exclude. This can also be a RegExp, however this is deprecated (See [issue #239](https://github.com/jprichardson/node-fs-extra/issues/239) for background). _Warning: `copySync` currently applies the filter only to files (see [#180](https://github.com/jprichardson/node-fs-extra/issues/180)). This will be fixed in a future release._
133133

134134
Sync: `copySync()`
135135

0 commit comments

Comments
 (0)