Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Rename custom config key from default to defaults

  • Loading branch information...
commit 0eae778cd262d011cb75220ed6c64ae4ff299ecf 1 parent 79a730b
@aron aron authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/custom.js
View
4 lib/custom.js
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.