Skip to content

Commit 79e0910

Browse files
authored
doc: clarify that required parameters are paths (#56)
Make it clearer that you cannot pass types such as buffers and file descriptors.
1 parent cc72c88 commit 79e0910

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ npm install extract-zip -g
2626

2727
```js
2828
var extract = require('extract-zip')
29-
extract(source, {dir: target}, function (err) {
29+
extract(sourcePath, {dir: targetPath}, function (err) {
3030
// extraction is complete. make sure to handle the err
3131
})
3232
```

0 commit comments

Comments
 (0)