Skip to content

Commit

Permalink
Merge pull request #3 from meijintao233/master
Browse files Browse the repository at this point in the history
fix: fix package.json, README.md
  • Loading branch information
arshadkazmi42 authored Aug 8, 2019
2 parents 7945c3f + 844868c commit e11a2f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ npm i chrome-cookie

const ChromeCookie = require('chrome-cookie');

const cookie = await ChromeCookie.getCookie('https://github.com');
const cookie = await new ChromeCookie().getCookie('https://github.com');
console.log(cookie);


Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
},
"files": [
"index.js",
"lib/"
"lib/",
"cookie.json"
],
"repository": {
"type": "git",
Expand Down

0 comments on commit e11a2f6

Please sign in to comment.