mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-18 19:54:17 +01:00
fall back to using the default mermaid style
This commit is contained in:
@@ -109,6 +109,8 @@ cli.prototype.parse = function(argv, next) {
|
|||||||
} catch (err) {
|
} catch (err) {
|
||||||
this.errors.push(err)
|
this.errors.push(err)
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
options.css = fs.readFileSync(__dirname + '/../dist/mermaid.css')
|
||||||
}
|
}
|
||||||
|
|
||||||
this.checkPhantom = createCheckPhantom(options.phantomPath)
|
this.checkPhantom = createCheckPhantom(options.phantomPath)
|
||||||
|
|||||||
Reference in New Issue
Block a user