summaryrefslogtreecommitdiffstats
path: root/lib/generate/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/generate/index.js')
-rw-r--r--lib/generate/index.js2
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, "**/*", {