Skip to content

Commit

Permalink
Specify expand: true for single file tree example
Browse files Browse the repository at this point in the history
In order for the `Copy a single file tree` example to work as expected, I added `expand: true` to it. Otherwise it won't add the directory.
  • Loading branch information
ricog committed Feb 23, 2016
1 parent 746495a commit 53d78fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ $ tree -I node_modules
```js
copy: {
main: {
expand: true,
src: 'src/*',
dest: 'dest/',
},
Expand Down Expand Up @@ -241,4 +242,4 @@ Aborted due to warnings.

Task submitted by [Chris Talkington](http://christalkington.com/)

*This file was generated on Mon Feb 01 2016 11:25:13.*
*This file was generated on Tue Feb 23 2016 15:40:33.*
1 change: 1 addition & 0 deletions docs/copy-examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ $ tree -I node_modules
```js
copy: {
main: {
expand: true,
src: 'src/*',
dest: 'dest/',
},
Expand Down

0 comments on commit 53d78fa

Please sign in to comment.