Fixed pm2 desc cli-table bug

This commit is contained in:
jshkurti 2015-02-16 15:53:22 +01:00
parent 12ff8daed6
commit 1627209ce5

View File

@ -73,6 +73,8 @@ module.exports = function(God) {
}
proc.pm2_env.vizion_running = true;
var repo_path = proc.pm2_env.versioning.repo_path;
vizion.analyze({
folder: proc.pm2_env.versioning.repo_path
},
@ -89,6 +91,7 @@ module.exports = function(God) {
return cb();
proc.pm2_env.vizion_running = false;
meta.repo_path = repo_path;
proc.pm2_env.versioning = meta;
debug('[PM2][WORKER] %s parsed for versioning', proc.pm2_env.name);
return cb();