diff options
author | isaacs <i@izs.me> | 2011-02-22 04:09:17 +0300 |
---|---|---|
committer | isaacs <i@izs.me> | 2011-02-22 04:11:18 +0300 |
commit | 3024e968630081a28d8c32404880ea81bf268b75 (patch) | |
tree | e670304f77a57502217ab6022d71dc708e4c686f /lib/utils/read-json.js | |
parent | 8ee3c3eba1ca063eaa613309cd956ddcae29b760 (diff) |
Remove overlay json support
Diffstat (limited to 'lib/utils/read-json.js')
-rw-r--r-- | lib/utils/read-json.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/utils/read-json.js b/lib/utils/read-json.js index 653a591db..cd6872cef 100644 --- a/lib/utils/read-json.js +++ b/lib/utils/read-json.js @@ -79,12 +79,6 @@ function processJsonString (opts, cb) { return function (er, jsonString) { return processObject(opts, cb)(er, json) }} function processObject (opts, cb) { return function (er, json) { - if (json.overlay) { - ;["node", "npm"].forEach(function (k) { - if (!json.overlay[k]) return undefined - for (var i in json.overlay[k]) json[i] = json.overlay[k][i] - }) - } // slashes would be a security risk. // anything else will just fail harmlessly. |