From a989b5ccde0dfb18b1a167d101325082c968a0c3 Mon Sep 17 00:00:00 2001 From: Gilles De Mey Date: Tue, 15 Sep 2015 19:10:53 +0200 Subject: [PATCH] fall back to using the default mermaid style --- lib/cli.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/cli.js b/lib/cli.js index e2506e4bd..d899ee039 100644 --- a/lib/cli.js +++ b/lib/cli.js @@ -109,6 +109,8 @@ cli.prototype.parse = function(argv, next) { } catch (err) { this.errors.push(err) } + } else { + options.css = fs.readFileSync(__dirname + '/../dist/mermaid.css') } this.checkPhantom = createCheckPhantom(options.phantomPath)