Skip to content
This repository was archived by the owner on May 14, 2024. It is now read-only.

Commit bc61f67

Browse files
committed
Lint fixes
1 parent ce243d5 commit bc61f67

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/client/client.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ function Client (options) {
120120

121121
this.log = options.log.child({ clazz: 'Client' }, true)
122122

123-
this.on('error', function(err) {
124-
self.cb(err);
123+
this.on('error', function (err) {
124+
self.cb(err)
125125
})
126126

127127
this.timeout = parseInt((options.timeout || 0), 10)
@@ -176,7 +176,7 @@ module.exports = Client
176176
* Default handler for error callbacks when
177177
* one isn't set in the instance
178178
*/
179-
Client.prototype.cb = function(err, ret) {
179+
Client.prototype.cb = function (err, ret) {
180180
if (err) {
181181
this.log.error('Caught exception:', err)
182182
} else {
@@ -299,7 +299,7 @@ Client.prototype.bind = function bind (name,
299299
})
300300

301301
var self = this
302-
this.cb = function(err, ret) {
302+
this.cb = function (err, ret) {
303303
delete self.cb
304304
callback(err, ret)
305305
}

0 commit comments

Comments
 (0)