Skip to content

Commit 952be1f

Browse files
mydeaLms24
andauthored
Apply suggestion from @Lms24
Co-authored-by: Lukas Stracke <[email protected]>
1 parent 3bc8532 commit 952be1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ export abstract class Client<O extends ClientOptions = ClientOptions> {
320320
public async flush(timeout?: number): PromiseLike<boolean> {
321321
const transport = this._transport;
322322
if (!transport) {
323-
return Promise.resolve(true);
323+
return true;
324324
}
325325

326326
this.emit('flush');

0 commit comments

Comments
 (0)