Permalink
Browse files

Rename custom config key from default to defaults

  • Loading branch information...
1 parent 79a730b commit 0eae778cd262d011cb75220ed6c64ae4ff299ecf @aron aron committed May 26, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/custom.js
View
@@ -23,7 +23,7 @@ fs.readdirSync(custom).forEach(function (customdir) {
try {
extracted = require(json);
- extracted.default = {};
+ extracted.defaults = {};
defaults.forEach(function (ext) {
var pathname = path.join(custompath, 'default.' + ext),
@@ -34,7 +34,7 @@ fs.readdirSync(custom).forEach(function (customdir) {
contents = fs.readFileSync(pathname).toString('utf8');
} catch (e) {}
- extracted.default[key] = contents;
+ extracted.defaults[key] = contents;
});
module.exports[customdir] = extracted;

0 comments on commit 0eae778

Please sign in to comment.