Skip to content

Commit 30bd2f8

Browse files
committed
update README [ci skip]
1 parent 217ecbb commit 30bd2f8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,13 @@ For more detail on this feature, please see [BULK.md](https://github.com/ctalkin
7272
Appends a directory and its files, recusively, given its dirpath. This is meant to be a simplier approach to something previously only possible with `bulk`. The use of `destpath` allows one to define a custom destination path within the resulting archive and `data` allows for setting data on each entry appended.
7373

7474
```js
75-
// mydir/ -> archive.zip/mydir/
75+
// mydir/ -> archive.ext/mydir/
7676
archive.directory('mydir');
7777

78-
// mydir/ -> archive.zip/abc/
78+
// mydir/ -> archive.ext/abc/
7979
archive.directory('mydir', 'abc');
8080

81-
// mydir/ -> archive.zip/
81+
// mydir/ -> archive.ext/
8282
archive.directory('mydir', false, { date: new Date() });
8383
```
8484

0 commit comments

Comments
 (0)