Skip to content

Commit

Permalink
Update README.md (#478)
Browse files Browse the repository at this point in the history
  • Loading branch information
wangkunmeng authored Jan 7, 2021
1 parent 3d5667e commit 611d0ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ archive.directory('subdir/', 'new-subdir');
archive.directory('subdir/', false);

// append files from a glob pattern
archive.glob('subdir/*.txt');
archive.glob('file*.txt', {cwd:__dirname});

// finalize the archive (ie we are done appending files but streams have to finish yet)
// 'close', 'end' or 'finish' may be fired right after calling this method so register to them beforehand
Expand Down

0 comments on commit 611d0ed

Please sign in to comment.