Skip to content

Commit 946839d

Browse files
authored
docs: fix example syntax (#100)
missing function keyword from example
1 parent eb3c1ed commit 946839d

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
@@ -29,7 +29,7 @@ npm install extract-zip -g
2929
```javascript
3030
const extract = require('extract-zip')
3131

32-
async main () {
32+
async function main () {
3333
try {
3434
await extract(source, { dir: target })
3535
console.log('Extraction complete')

0 commit comments

Comments
 (0)