Skip to content

Commit

Permalink
docs: fix code typo for markDirectories example
Browse files Browse the repository at this point in the history
  • Loading branch information
yarastqt committed Aug 23, 2020
1 parent a9f7b95 commit 685ca59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -415,8 +415,8 @@ fg.sync('*.js', { absolute: true }); // ['/home/user/index.js']
Mark the directory path with the final slash.

```js
fs.sync('*', { onlyFiles: false, markDirectories: false }); // ['index.js', 'controllers']
fs.sync('*', { onlyFiles: false, markDirectories: true }); // ['index.js', 'controllers/']
fg.sync('*', { onlyFiles: false, markDirectories: false }); // ['index.js', 'controllers']
fg.sync('*', { onlyFiles: false, markDirectories: true }); // ['index.js', 'controllers/']
```

#### objectMode
Expand Down

0 comments on commit 685ca59

Please sign in to comment.