Skip to content

Commit c472908

Browse files
committed
style
1 parent 16f63b2 commit c472908

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

lib/ddp-client.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -335,12 +335,12 @@ DDPClient.prototype._endPendingMethodCalls = function() {
335335
self._pendingMethods = {};
336336

337337
ids.forEach(function (id) {
338-
if(self._callbacks[id]) {
338+
if (self._callbacks[id]) {
339339
self._callbacks[id](DDPClient.ERRORS.DISCONNECTED);
340340
delete self._callbacks[id];
341341
}
342342

343-
if(self._updatedCallbacks[id]) {
343+
if (self._updatedCallbacks[id]) {
344344
self._updatedCallbacks[id]();
345345
delete self._updatedCallbacks[id];
346346
}
@@ -356,7 +356,8 @@ DDPClient.prototype._makeSockJSConnection = function() {
356356
var path = pathJoin("/", self.path || "", "sockjs/info");
357357
var url = protocol + self.host + ":" + self.port + path;
358358

359-
var requestOpts = {'url': url, 'agentOptions': self.tlsOpts}
359+
var requestOpts = { 'url': url, 'agentOptions': self.tlsOpts };
360+
360361
request.get(requestOpts, function(err, res, body) {
361362
if (err) {
362363
self._recoverNetworkError();

0 commit comments

Comments
 (0)