Skip to content

Commit

Permalink
Fix readme example (#81)
Browse files Browse the repository at this point in the history
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
  • Loading branch information
karaggeorge and sindresorhus committed Mar 5, 2021
1 parent 6f2c116 commit 4c72590
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ declare namespace cpy {
(async () => {
await cpy('foo', 'destination', {
filter: file => file.extension !== '.nocopy'
filter: file => file.extension !== 'nocopy'
});
})();
```
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ const cpy = require('cpy');

(async () => {
await cpy('foo', 'destination', {
filter: file => file.extension !== '.nocopy'
filter: file => file.extension !== 'nocopy'
});
})();
```
Expand Down

0 comments on commit 4c72590

Please sign in to comment.