summaryrefslogtreecommitdiffstats
path: root/lib/config/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/config/index.js')
-rw-r--r--lib/config/index.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/config/index.js b/lib/config/index.js
index 563f03b..d83dae4 100644
--- a/lib/config/index.js
+++ b/lib/config/index.js
@@ -19,7 +19,7 @@ function Config(book, baseConfig) {
this.book = book;
this.fs = book.fs;
this.log = book.log;
- this.filename = null;
+ this.path = null;
this.replace(baseConfig || {});
}
@@ -37,7 +37,7 @@ Config.prototype.load = function() {
return that.fs.loadAsObject(that.book.resolve(filename))
.then(function(_config) {
- that.filename = filename;
+ that.path = filename;
return that.replace(_config);
})
.fail(function(err) {
@@ -102,7 +102,7 @@ Config.prototype.replace = function(options) {
// Return true if book has a configuration file
Config.prototype.exists = function() {
- return Boolean(this.filename);
+ return Boolean(this.path);
};
// Return path to a structure file