Skip to content

Commit b9d0177

Browse files
committed
Fix eslint: consistent-return in find method
PR-URL: #459
1 parent e9c84d6 commit b9d0177

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/async-iterator.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ class AsyncIterator {
6969
return value;
7070
}
7171
}
72-
return undefined;
72+
const value = undefined;
73+
return value;
7374
}
7475

7576
async includes(element) {

0 commit comments

Comments
 (0)