Skip to content

Commit

Permalink
Meta tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Mar 20, 2021
1 parent 0b5f9a3 commit 54b51f9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ import got = require('got');
const sites = [
getWebsiteFromUsername('https://sindresorhus'), //=> Promise
'https://ava.li',
'https://avajs.dev',
'https://github.com'
];
Expand All @@ -54,7 +54,7 @@ const sites = [
const result = await pMap(sites, mapper, {concurrency: 2});
console.log(result);
//=> ['https://sindresorhus.com/', 'https://ava.li/', 'https://github.com/']
//=> ['https://sindresorhus.com/', 'https://avajs.dev/', 'https://github.com/']
})();
```
*/
Expand Down
2 changes: 1 addition & 1 deletion index.test-d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {Options, Mapper} from '.';

const sites = [
'https://sindresorhus.com',
'https://ava.li',
'https://avajs.dev',
'https://github.com'
];

Expand Down
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const got = require('got');

const sites = [
getWebsiteFromUsername('https://sindresorhus'), //=> Promise
'https://ava.li',
'https://avajs.dev',
'https://github.com'
];

Expand All @@ -33,7 +33,7 @@ const sites = [
const result = await pMap(sites, mapper, {concurrency: 2});

console.log(result);
//=> ['https://sindresorhus.com/', 'https://ava.li/', 'https://github.com/']
//=> ['https://sindresorhus.com/', 'https://avajs.dev/', 'https://github.com/']
})();
```

Expand Down

0 comments on commit 54b51f9

Please sign in to comment.