aboutsummaryrefslogtreecommitdiff
path: root/tools/node.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/node.js')
-rw-r--r--tools/node.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/node.js b/tools/node.js
index ef05f571..631a2930 100644
--- a/tools/node.js
+++ b/tools/node.js
@@ -66,8 +66,8 @@ function infer_options(options) {
}
exports.default_options = function() {
- var defs = {};
- Object.keys(infer_options({ 0: 0 })).forEach(function(component) {
+ var defs = infer_options({ 0: 0 });
+ Object.keys(defs).forEach(function(component) {
var options = {};
options[component] = { 0: 0 };
if (options = infer_options(options)) {