diff options
Diffstat (limited to 'lib/config/index.js')
-rw-r--r-- | lib/config/index.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/config/index.js b/lib/config/index.js index 34bf97c..72b2026 100644 --- a/lib/config/index.js +++ b/lib/config/index.js @@ -30,14 +30,14 @@ function Config(book, baseConfig) { Config.prototype.load = function() { var that = this; - this.log.info.ln('loading configuration'); - // Try all potential configuration file return Promise.some(CONFIG_FILES, function(filename) { that.log.debug.ln('try loading configuration from', filename); return that.fs.loadAsObject(that.book.resolve(filename)) .then(function(_config) { + that.log.debug.ln('configuration loaded from', filename); + that.path = filename; return that.replace(_config); }) |