Skip to content

Commit 928e8cf

Browse files
committed
add explicit return
1 parent 9941531 commit 928e8cf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/it-first/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ const first = async (source) => {
1111
for await (const entry of source) { // eslint-disable-line no-unreachable-loop
1212
return entry
1313
}
14+
15+
return undefined
1416
}
1517

1618
module.exports = first

0 commit comments

Comments
 (0)