Skip to content

Commit

Permalink
#129 - Update documentation to more clearly explain what happens for …
Browse files Browse the repository at this point in the history
…default base option values.
  • Loading branch information
treshugart authored and phated committed Nov 28, 2017
1 parent 21c4152 commit 80a021b
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 @@ -42,8 +42,8 @@ fs.src(['*.js', '!b*.js'])
- Default is `process.cwd()`.

- base - Specify the folder relative to the cwd. This is used to determine the file names when saving in `.dest()`.
- Default is where the glob begins if any.
- Default is `process.cwd()` if there is no glob.
- Default is where the glob begins, if any. For example, `path/to/**/*.js` would resolve to `path/to`.
- If there is no glob (i.e. a file path with no pattern), then the dirname of the path is used. For example, `path/to/some/file.js` would resolve to `path/to/some`.

- buffer - `true` or `false` if you want to buffer the file.
- Default value is `true`.
Expand Down

0 comments on commit 80a021b

Please sign in to comment.