Compare View
Commits (3)
Changes
Showing 2 changed files Side-by-side Diff
config-from-main.js
... | ... | @@ -12,9 +12,9 @@ const candindates = [ |
12 | 12 | |
13 | 13 | let config; |
14 | 14 | |
15 | -for (let candindate in candindates) { | |
15 | +for (let candindate of candindates) { | |
16 | 16 | if (fs.existsSync(candindate)) { |
17 | - console.log(candindate + ' FOUND'); | |
17 | + //console.log(candindate + ' FOUND'); | |
18 | 18 | try { |
19 | 19 | config = require(candindate); |
20 | 20 | config.this_config_filename = candindate; |
... | ... | @@ -23,7 +23,7 @@ for (let candindate in candindates) { |
23 | 23 | |
24 | 24 | break; |
25 | 25 | } |
26 | - console.log(candindate + ' NOT FOUND'); | |
26 | + //console.log(candindate + ' NOT FOUND'); | |
27 | 27 | } |
28 | 28 | |
29 | 29 | module.exports = config; |