File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff 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 ( ) ;
You can’t perform that action at this time.
0 commit comments