diff options
author | isaacs <i@izs.me> | 2012-06-09 02:16:51 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2012-06-09 02:16:51 +0400 |
commit | 24be9d3508eec7684bf3ca171c91f9f2766c0b5c (patch) | |
tree | 9cd1adbaa7e75e203ee54bc3abb5cfdf9d5d007e /lib/utils/read-json.js | |
parent | e832e71c0d959eee7473e1f1eeebbfa7b0638738 (diff) |
Enable npm link on windows
Requires node >= 0.7.9
Diffstat (limited to 'lib/utils/read-json.js')
-rw-r--r-- | lib/utils/read-json.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/utils/read-json.js b/lib/utils/read-json.js index 68153ab21..312e670f6 100644 --- a/lib/utils/read-json.js +++ b/lib/utils/read-json.js @@ -20,6 +20,8 @@ function readJson (jsonFile, opts, cb) { log.verbose("json from cache", jsonFile) return cb(null, cache[jsonFile]) } + log.verbose("read json", jsonFile) + opts.file = jsonFile if (!opts.tag) { var parsedPath = jsonFile.indexOf(npm.dir) === 0 && jsonFile.match( |