Skip to content

Commit

Permalink
doc: clarify that required parameters are paths (#56)
Browse files Browse the repository at this point in the history
Make it clearer that you cannot pass types such as buffers and file descriptors.
  • Loading branch information
axelpale authored Mar 25, 2020
1 parent cc72c88 commit 79e0910
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 @@ -26,7 +26,7 @@ npm install extract-zip -g

```js
var extract = require('extract-zip')
extract(source, {dir: target}, function (err) {
extract(sourcePath, {dir: targetPath}, function (err) {
// extraction is complete. make sure to handle the err
})
```
Expand Down

0 comments on commit 79e0910

Please sign in to comment.