Skip to content

Commit

Permalink
Fix readme example (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
roeybiran authored and sindresorhus committed Jun 27, 2019
1 parent 01d66b2 commit a6ca17a
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 @@ const readPkg = require('read-pkg');
console.log(await readPkg());
//=> {name: 'read-pkg', …}

console.log(await readPkg({cwd: 'some-other-directory'});
console.log(await readPkg({cwd: 'some-other-directory'}));
//=> {name: 'unicorn', …}
})();
```
Expand Down

0 comments on commit a6ca17a

Please sign in to comment.