| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 1022c0d commit 59d4da6
839 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -187,7 +187,6 @@ function asIndexedPairs(options = undefined) { | |||
| 187 | 187 | } | |
| 188 | 188 | ||
| 189 | 189 | async function some(fn, options = undefined) { | |
| 190 | - // eslint-disable-next-line no-unused-vars | ||
| 191 | 190 | for await (const unused of filter.call(this, fn, options)) { | |
| 192 | 191 | return true; | |
| 193 | 192 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -166,7 +166,7 @@ doAsyncIterBreakTest().then(common.mustCall()); | |||
| 166 | 166 | async function doAsyncIterReturnTest() { | |
| 167 | 167 | const dir = await fs.promises.opendir(testDir); | |
| 168 | 168 | await (async function() { | |
| 169 | - for await (const dirent of dir) { // eslint-disable-line no-unused-vars | ||
| 169 | + for await (const dirent of dir) { | ||
| 170 | 170 | return; | |
| 171 | 171 | } | |
| 172 | 172 | })(); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -63,7 +63,7 @@ async function tests() { | |||
| 63 | 63 | }); | |
| 64 | 64 | ||
| 65 | 65 | await (async () => { | |
| 66 | - for await (const d of readable) { // eslint-disable-line no-unused-vars | ||
| 66 | + for await (const d of readable) { | ||
| 67 | 67 | return; | |
| 68 | 68 | } | |
| 69 | 69 | })(); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1304,7 +1304,6 @@ class Source { | |||
| 1304 | 1304 | }); | |
| 1305 | 1305 | ||
| 1306 | 1306 | async function read(stream) { | |
| 1307 | - // eslint-disable-next-line no-unused-vars | ||
| 1308 | 1307 | for await (const _ of stream.values({ preventCancel: true })) | |
| 1309 | 1308 | return; | |
| 1310 | 1309 | } | |
@@ -1319,7 +1318,6 @@ class Source { | |||
| 1319 | 1318 | const stream = new ReadableStream(source); | |
| 1320 | 1319 | ||
| 1321 | 1320 | async function read(stream) { | |
| 1322 | - // eslint-disable-next-line no-unused-vars | ||
| 1323 | 1321 | for await (const _ of stream.values({ preventCancel: false })) | |
| 1324 | 1322 | return; | |
| 1325 | 1323 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments