Skip to content

Commit

Permalink
Fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
voxpelli committed May 29, 2023
1 parent 2f055e8 commit 5ac172e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,6 @@ export function bufferedAsyncMap (input, callback, options) {
/** @type {AsyncIterableIterator<R> & { return: NonNullable<AsyncIterableIterator<R>["return"]>, throw: NonNullable<AsyncIterableIterator<R>["throw"]> }} */
const resultAsyncIterableIterator = {
async next () {
// eslint-disable-next-line promise/prefer-await-to-then
currentStep = currentStep ? currentStep.then(() => nextValue()) : nextValue();
return currentStep;
},
Expand Down
1 change: 0 additions & 1 deletion test/values.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,6 @@ describe('bufferedAsyncMap() values', () => {
const rejectionError = new Error('Rejection');

/** @returns {AsyncIterable<number>} */
// eslint-disable-next-line unicorn/consistent-function-scoping
async function * rejectedGeneratorValue () {
for (let i = 0; i < count; i++) {
yield i === 3
Expand Down

0 comments on commit 5ac172e

Please sign in to comment.