Skip to content

Commit 128ebb4

Browse files
Fix a small nit in ping function
1 parent 02567c2 commit 128ebb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

promise.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ class PromiseConnection extends EventEmitter {
161161
const c = this.connection;
162162
const localErr = new Error();
163163
return new this.Promise((resolve, reject) => {
164-
c.ping((err) => {
164+
c.ping(err => {
165165
if (err) {
166166
localErr.message = err.message;
167167
localErr.code = err.code;

0 commit comments

Comments
 (0)