diff options
author | Samy Pessé <samypesse@gmail.com> | 2015-01-25 12:08:52 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2015-01-25 12:08:52 +0100 |
commit | d60a9763cde7ff0fa0d776493f2730ea96283459 (patch) | |
tree | 2fec3e821920bf9bcddb967360d03328ca74e752 | |
parent | e366c052381b3f03ad426d2b4d95c8032ce5f2e1 (diff) | |
download | gitbook-d60a9763cde7ff0fa0d776493f2730ea96283459.zip gitbook-d60a9763cde7ff0fa0d776493f2730ea96283459.tar.gz gitbook-d60a9763cde7ff0fa0d776493f2730ea96283459.tar.bz2 |
Fix loading of plugins when book root is relative
-rw-r--r-- | lib/book.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/book.js b/lib/book.js index 392dbe1..1f5c5c4 100644 --- a/lib/book.js +++ b/lib/book.js @@ -30,7 +30,7 @@ var Book = function(root, context, parent) { }) // Root folder of the book - this.root = root; + this.root = path.resolve(root); // Parent book this.parent = parent; |