diff options
author | Samy Pessé <samypesse@gmail.com> | 2014-03-31 12:31:01 -0700 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2014-03-31 12:31:01 -0700 |
commit | 4210794de64b396409af080b698a3b5894ee2c80 (patch) | |
tree | 5f7ee99c433483b837b20f9d359780008b2ea5c4 /lib/generate/index.js | |
parent | 77a4c1042c7c13327641fb057c3c203cbf868782 (diff) | |
download | gitbook-4210794de64b396409af080b698a3b5894ee2c80.zip gitbook-4210794de64b396409af080b698a3b5894ee2c80.tar.gz gitbook-4210794de64b396409af080b698a3b5894ee2c80.tar.bz2 |
Fix all relative links
Diffstat (limited to 'lib/generate/index.js')
-rw-r--r-- | lib/generate/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/generate/index.js b/lib/generate/index.js index 56d1287..c265be3 100644 --- a/lib/generate/index.js +++ b/lib/generate/index.js @@ -17,7 +17,7 @@ var generate = function(root, output, options) { github: null }); - if (!options.github) return Q.reject(new Error("Need options.github for specifing the github origin")); + if (!options.github || !options.title) return Q.reject(new Error("Need options.github and optiosn.title")); // List all files in the repository return Q.nfcall(glob, "**/*", { |