Browse Source

Using log for now, fixes #40

`log` or `debug` must not matter much in this case.
pull/44/head
hemanth.hm 8 years ago committed by GitHub
parent
commit
64d2b8cb85
  1. 4
      src/common/job.js

4
src/common/job.js

@ -52,7 +52,7 @@ module.exports = class TesseractJob { @@ -52,7 +52,7 @@ module.exports = class TesseractJob {
let runFinallyCbs = false;
if(packet.status === 'resolve'){
if(this._resolve.length === 0) console.debug(data);
if(this._resolve.length === 0) console.log(data);
this._resolve.forEach(fn => {
var ret = fn(data);
if(ret && typeof ret.then == 'function'){
@ -78,4 +78,4 @@ module.exports = class TesseractJob { @@ -78,4 +78,4 @@ module.exports = class TesseractJob {
this._finally.forEach(fn => fn(data));
}
}
}
}

Loading…
Cancel
Save