read-package-json
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "read-package-json", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)", | ||
@@ -5,0 +5,0 @@ "description": "The thing npm uses to read package.json files with semantics and defaults and validation", |
@@ -226,3 +226,4 @@ // vim: set softtabstop=16 shiftwidth=16: | ||
var dir = path.dirname(file) | ||
glob("README?(.*)", { cwd: dir }, function (er, files) { | ||
var globOpts = { cwd: dir, nocase: true } | ||
glob("README?(.*)", globOpts, function (er, files) { | ||
if (er) return cb(er); | ||
@@ -229,0 +230,0 @@ if (!files.length) return cb() |
27797
532