diff --git a/lib/cli.js b/lib/cli.js index cbacba02..3142313a 100755 --- a/lib/cli.js +++ b/lib/cli.js @@ -35,7 +35,7 @@ if (options.server) { } else { var json = (new Y.YUIDoc(options)).run(); if (json === null) { - throw new Error('Running YUIDoc returns null.'); + return; } options = Y.Project.mix(json, options);