JSDOC/Options.js
[gnome.introspection-doc-generator] / JSDOC / Options.js
index a6724dd..2836831 100644 (file)
@@ -70,6 +70,13 @@ Options = {
                 message: "No directory specified" 
             };
         }
+        f (!this.baseDir) {
+            throw {
+                name: "ArgumentError", 
+                message: "No cacheDirectory specified" 
+            };
+        }
+        
         // should cacheDirectory be a subdirectory of target??
         // if not set..
         if (!this.cacheDirectory) {