Remove now useless code & Update deps.

This commit is contained in:
Julien Fontanet 2014-07-26 23:51:23 +02:00
parent 7840d601e1
commit a2bcadeb7c
2 changed files with 4 additions and 6 deletions

View File

@ -23,8 +23,8 @@
"url": "https://github.com/vatesfr/xo-cli" "url": "https://github.com/vatesfr/xo-cli"
}, },
"dependencies": { "dependencies": {
"bluebird": "^2.0.7", "bluebird": "^2.2.2",
"chalk": "^0.4.0", "chalk": "^0.5.1",
"exec-promise": "^0.3.0", "exec-promise": "^0.3.0",
"inquirer": "^0.5.1", "inquirer": "^0.5.1",
"l33teral": "^2.0.4", "l33teral": "^2.0.4",
@ -32,11 +32,11 @@
"mkdirp": "^0.5.0", "mkdirp": "^0.5.0",
"multiline": "^0.3.4", "multiline": "^0.3.4",
"xdg": "^0.1.1", "xdg": "^0.1.1",
"xo-lib": "^0.1.0" "xo-lib": "^0.1.1"
}, },
"devDependencies": { "devDependencies": {
"chai": "^1.9.1", "chai": "^1.9.1",
"mocha": "^1.20.1" "mocha": "^1.21.0"
}, },
"scripts": { "scripts": {
"test": "mocha cli.spec.js" "test": "mocha cli.spec.js"

View File

@ -48,8 +48,6 @@ exports = module.exports = function (args) {
return help(); return help();
} }
process.env.NODE_TLS_REJECT_UNAUTHORIZED = 0;
var fnName = args[0].replace(/^--|-\w/g, function (match) { var fnName = args[0].replace(/^--|-\w/g, function (match) {
if (match === '--') if (match === '--')
{ {