Skip to content

Commit

Permalink
Fix readme example (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
matamatanot authored Apr 8, 2020
1 parent 5bbc117 commit 84edbf5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ const got = require('got');
const queue = new PQueue({concurrency: 1});

(async () => {
await queue.add(() => got('sindresorhus.com'));
await queue.add(() => got('https://sindresorhus.com'));
console.log('Done: sindresorhus.com');
})();

(async () => {
await queue.add(() => got('ava.li'));
await queue.add(() => got('https://ava.li'));
console.log('Done: ava.li');
})();

Expand Down

0 comments on commit 84edbf5

Please sign in to comment.