From: Alan Knowles Date: Tue, 29 Jun 2010 09:52:07 +0000 (+0800) Subject: JSDOC/Options.js X-Git-Url: http://git.roojs.org/?p=gnome.introspection-doc-generator;a=commitdiff_plain;h=78356ed7e014fd49df334283a618bc909bd1323e JSDOC/Options.js --- diff --git a/JSDOC/Options.js b/JSDOC/Options.js index a6724dd..2836831 100644 --- a/JSDOC/Options.js +++ b/JSDOC/Options.js @@ -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) {