Skip to content

Commit

Permalink
docs(empty dirs): add emptyDirs option to API
Browse files Browse the repository at this point in the history
  • Loading branch information
blond committed Sep 7, 2016
1 parent 2c929d2 commit 7ed5873
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Expand Up @@ -69,7 +69,8 @@ const artifacts = [
tartifacts(artifacts, {
root: __dirname, // `process.cwd()` by default
dotFiles: true, // include dotfiles
emptyFiles: true // include empty files
emptyFiles: true // include empty files,
emptyDirs: false // include empty directories
})
.then(() => console.log('Copying or packaging completed!'))
.catch(err => console.log(err));
Expand Down Expand Up @@ -202,6 +203,13 @@ Default: `true`

Include empty files.

#### emptyDirs

Type: `boolean`
Default: `true`

Include empty directories.

License
-------

Expand Down

0 comments on commit 7ed5873

Please sign in to comment.