Skip to content

Commit

Permalink
upgrade commander
Browse files Browse the repository at this point in the history
  • Loading branch information
boneskull committed Sep 29, 2017
1 parent f1efc14 commit e6e3519
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions bin/_mocha
Original file line number Diff line number Diff line change
Expand Up @@ -138,13 +138,13 @@ program

// --globals

program.on('globals', function (val) {
program.on('option:globals', function (val) {
globals = globals.concat(list(val));
});

// --reporters

program.on('reporters', function () {
program.on('option:reporters', function () {
console.log();
console.log(' dot - dot matrix');
console.log(' doc - html documentation');
Expand All @@ -165,7 +165,7 @@ program.on('reporters', function () {

// --interfaces

program.on('interfaces', function () {
program.on('option:interfaces', function () {
console.log('');
interfaceNames.forEach(function (interfaceName) {
console.log(' ' + interfaceName);
Expand All @@ -178,7 +178,7 @@ program.on('interfaces', function () {

module.paths.push(cwd, join(cwd, 'node_modules'));

program.on('require', function (mod) {
program.on('option:require', function (mod) {
var abs = exists(mod) || exists(mod + '.js');
if (abs) {
mod = resolve(mod);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@
},
"dependencies": {
"browser-stdout": "1.3.0",
"commander": "2.9.0",
"commander": "2.11.0",
"debug": "3.1.0",
"diff": "3.2.0",
"escape-string-regexp": "1.0.5",
Expand Down

0 comments on commit e6e3519

Please sign in to comment.