Skip to content

Commit

Permalink
fixup!
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamingr committed Jan 17, 2022
1 parent 9ccdec3 commit 4bc65b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/stream.md
Expand Up @@ -1969,7 +1969,7 @@ const anyBigFile = await Readable.from([
'file1',
'file2',
'file3',
]).map(async (fileName) => {
]).some(async (fileName) => {
const stats = await stat(fileName);
return stat.size > 1024 * 1024;
}, { concurrency: 2 });
Expand Down Expand Up @@ -2017,7 +2017,7 @@ const allBigFiles = await Readable.from([
'file1',
'file2',
'file3',
]).map(async (fileName) => {
]).every(async (fileName) => {
const stats = await stat(fileName);
return stat.size > 1024 * 1024;
}, { concurrency: 2 });
Expand Down

0 comments on commit 4bc65b2

Please sign in to comment.