unblock event loop for God.getVersion

This commit is contained in:
Alexandre Strzelewicz 2014-08-29 19:25:43 +02:00
parent 8860ca20b8
commit c9f0b6eba0

View File

@ -680,6 +680,8 @@ module.exports = function(God) {
* @return CallExpression
*/
God.getVersion = function(env, cb) {
return cb(null, pkg.version);
process.nextTick(function() {
return cb(null, pkg.version);
});
};
};