Skip to content

Commit

Permalink
Fixed pm2 desc cli-table bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jshkurti committed Feb 16, 2015
1 parent 12ff8da commit 1627209
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
},
Expand All @@ -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();
Expand Down

0 comments on commit 1627209

Please sign in to comment.