Permalink
Browse files

defaults; non-SSL registry, local opt package.json

this patch gets local to behave the same way it did for node 0.10.x as it did for 0.8.x
  • Loading branch information...
wavded committed Apr 8, 2013
1 parent 5733522 commit 40d2a64fe910e0bad927cc7bac2866077c380283
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/police.js
View
@@ -101,14 +101,14 @@ police.start = function (argv, callback) {
/*
* Set registry parameter
*/
- police.registry = argv.registry || police.config.get('registry') || 'https://registry.npmjs.org/'
+ police.registry = argv.registry || police.config.get('registry') || 'http://registry.npmjs.org/'
/*
* Reads a local file and checks it
*/
if (argv.l) {
maincmd = false;
- police.check.local(argv.l);
+ police.check.local(argv.l !== true ? argv.l : 'package.json');
}
/*

0 comments on commit 40d2a64

Please sign in to comment.