Skip to content

Commit

Permalink
Merge pull request #3437 from Unitech/gc-stats
Browse files Browse the repository at this point in the history
Install Gc stats
  • Loading branch information
wallet77 committed Jan 31, 2018
2 parents 611173f + 3ed1a74 commit 1a6771a
Showing 1 changed file with 13 additions and 0 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

0 comments on commit 1a6771a

Please sign in to comment.