From 53d78fa47aa8d55504ddca5dee17345bb8fb7567 Mon Sep 17 00:00:00 2001 From: Rick Guyer Date: Tue, 23 Feb 2016 15:42:28 -0600 Subject: [PATCH] Specify expand: true for single file tree example 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. --- README.md | 3 ++- docs/copy-examples.md | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c768bf3..ddaa56b 100644 --- a/README.md +++ b/README.md @@ -103,6 +103,7 @@ $ tree -I node_modules ```js copy: { main: { + expand: true, src: 'src/*', dest: 'dest/', }, @@ -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.* diff --git a/docs/copy-examples.md b/docs/copy-examples.md index 7866621..f67d839 100644 --- a/docs/copy-examples.md +++ b/docs/copy-examples.md @@ -39,6 +39,7 @@ $ tree -I node_modules ```js copy: { main: { + expand: true, src: 'src/*', dest: 'dest/', },