Skip to content

Commit

Permalink
Now Worker:Refresh is only applied to ahead and unstaged flags
Browse files Browse the repository at this point in the history
  • Loading branch information
jshkurti committed Nov 25, 2014
1 parent c2e3581 commit f1f829c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ module.exports = function(God) {
proc.pm2_env.versioning.repo_path))
return cb();

proc.pm2_env.versioning = meta;
proc.pm2_env.versioning.repo_path = repo_path;
proc.pm2_env.versioning.ahead = meta.ahead;
proc.pm2_env.versioning.unstaged = meta.unstaged;
debug('[PM2][WORKER] %s parsed for versioning', proc.pm2_env.name);
return cb();
});
Expand Down

0 comments on commit f1f829c

Please sign in to comment.