Skip to content
This repository was archived by the owner on Dec 21, 2021. It is now read-only.

Commit 68646bd

Browse files
committed
style: Lint PushQueue.
1 parent 0dc6b02 commit 68646bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils/PushQueue.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { pOrderedResolve, Defer, pTimeout } from './index'
1+
import { Defer, pTimeout } from './index'
22

33
async function endGenerator(gtr: AsyncGenerator, error?: Error) {
44
return error
@@ -160,7 +160,7 @@ export default class PushQueue<T> {
160160
}
161161

162162
if (end) {
163-
await this.end()
163+
this.end()
164164
}
165165

166166
return Promise.resolve()

0 commit comments

Comments
 (0)