diff options
author | Samy Pessé <samypesse@gmail.com> | 2014-04-04 00:00:12 -0700 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2014-04-04 00:00:12 -0700 |
commit | cb9a0b82ba0478b9a5b37de6f920edff474312e1 (patch) | |
tree | 02c4cc20eb3b615a80832c1199448c9032bb9fac /lib/generate/index.js | |
parent | 57ecfe4a548a9e648cd7aea8b7c7ebedd3aea30d (diff) | |
download | gitbook-cb9a0b82ba0478b9a5b37de6f920edff474312e1.zip gitbook-cb9a0b82ba0478b9a5b37de6f920edff474312e1.tar.gz gitbook-cb9a0b82ba0478b9a5b37de6f920edff474312e1.tar.bz2 |
Fix some typos in lib
Diffstat (limited to 'lib/generate/index.js')
-rw-r--r-- | lib/generate/index.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/generate/index.js b/lib/generate/index.js index 43f9497..315ceda 100644 --- a/lib/generate/index.js +++ b/lib/generate/index.js @@ -11,7 +11,7 @@ var generate = function(root, output, options) { var files, summary, navigation, tpl; options = _.defaults(options || {}, { - // Book title, keyword, description + // Book title, description title: null, description: "Book generated using GitBook", @@ -19,7 +19,7 @@ var generate = function(root, output, options) { github: null }); - if (!options.github || !options.title) return Q.reject(new Error("Need options.github and optiosn.title")); + if (!options.github || !options.title) return Q.reject(new Error("Need options.github and options.title")); // Clean output folder @@ -39,7 +39,7 @@ var generate = function(root, output, options) { files = _files; if (!_.contains(files, "SUMMARY.md") || !_.contains(files, "README.md")) { - return Q.reject(new Error("Invalid gitbook repository, need SUMMARY.md and README.md")); + return Q.reject(new Error("Invalid gitbook repository: need SUMMARY.md and README.md")); } }) |