Skip to content
This repository was archived by the owner on Dec 20, 2023. It is now read-only.

Commit b0fb451

Browse files
committed
remove chalk as it doesnt seem to be 0.8 compatible
1 parent fdacfeb commit b0fb451

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

bin/mongodb-version-manager.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ var mvm = require('../'),
77
pkg = require('../package.json'),
88
argv = docopt(fs.readFileSync(__dirname + '/m.docopt', 'utf-8'), {version: pkg.version}),
99
spawn = require('child_process').spawn,
10-
chalk = require('chalk'),
1110
without = require('lodash.without'),
1211
pluck = require('lodash.pluck');
1312

@@ -120,13 +119,13 @@ var commands = {
120119
});
121120
}
122121

123-
console.log(' '+chalk.yellow('0 versions installed. Run one of:'));
122+
console.log('0 versions installed. Run one of:');
124123

125124
mvm.resolve([{version: 'unstable'}, {version: 'stable'}], function(err, data){
126125
if(err) return abort(err);
127126

128-
console.log(' m use stable' + chalk.gray('; # installs MongoDB v' + data.stable.version));
129-
console.log(' m use unstable' + chalk.gray('; # installs MongoDB v' + data.unstable.version));
127+
console.log(' m use stable; # installs MongoDB v' + data.stable.version);
128+
console.log(' m use unstable; # installs MongoDB v' + data.unstable.version);
130129
});
131130
});
132131
}

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
},
2020
"dependencies": {
2121
"async": "~0.9.0",
22-
"chalk": "~0.5.1",
2322
"cheerio": "~0.17.0",
2423
"debug": "~1.0.4",
2524
"docopt": "~0.4.0",

0 commit comments

Comments
 (0)