Skip to content

Commit

Permalink
Merge branch 'development' of github.com:Unitech/pm2 into v8_option
Browse files Browse the repository at this point in the history
  • Loading branch information
wallet77 committed Jan 31, 2018
2 parents aa180fa + 1a6771a commit 757562f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
13 changes: 13 additions & 0 deletions lib/API/Modules/Modularizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,19 @@ Modularizer.install = function(CLI, module_name, opts, cb) {
return false;
}

if (module_name === 'gc-stats') {
installLangModule('gc-stats', function(err) {
if (err) {
Common.printError(cst.PREFIX_MSG_MOD_ERR + chalk.bold.green('gc-stats installation has FAILED (checkout previous logs)'));
return cb(err);
}

Common.printOut(cst.PREFIX_MSG + chalk.bold.green('gc-stats ENABLED'));
return cb();
});
return false;
}

if (module_name.indexOf('typescript') > -1) {
// Special dependency install
return installLangModule(module_name, function(e) {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
"async": "^2.5",
"blessed": "^0.1.81",
"chalk": "^1.1",
"chokidar": "^2.0",
"chokidar": "^2",
"cli-table-redemption": "^1.0.0",
"commander": "2.13.0",
"cron": "^1.3",
Expand All @@ -189,7 +189,7 @@
"yamljs": "^0.3.0"
},
"devDependencies": {
"mocha": "^5",
"mocha": "^3.5",
"should": "^11"
},
"optionalDependencies": {
Expand Down

0 comments on commit 757562f

Please sign in to comment.