File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -221,7 +221,7 @@ RapidMango.prototype.download = function download() {
221
221
} ) ;
222
222
} ) ;
223
223
} ) ;
224
- } ) ;
224
+ } ) . bind ( this ) ;
225
225
} ;
226
226
227
227
function RapidMango ( options ) {
@@ -273,7 +273,7 @@ RapidMango.prototype.install = function install() {
273
273
return fs . unlinkAsync ( archiveFilename ) ;
274
274
} ) ;
275
275
} ) ;
276
- } ) ;
276
+ } ) . bind ( this ) ;
277
277
} ;
278
278
279
279
RapidMango . prototype . start = function start ( ) {
@@ -341,7 +341,7 @@ RapidMango.prototype.start = function start() {
341
341
} ) ;
342
342
} ) ;
343
343
return promise ;
344
- } ) ;
344
+ } ) . bind ( this ) ;
345
345
} ;
346
346
347
347
RapidMango . prototype . stop = function stop ( ) {
@@ -354,7 +354,7 @@ RapidMango.prototype.stop = function stop() {
354
354
reject ( err ) ;
355
355
} ) ;
356
356
self . child . kill ( ) ;
357
- } )
358
- }
357
+ } ) . bind ( this ) ;
358
+ } ;
359
359
360
360
module . exports = RapidMango ;
You can’t perform that action at this time.
0 commit comments