mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-28 07:03:17 +08:00
Merge pull request #430 from whyzdev/issue428_fix_gantt_cli_cfg
fix gantt chart cli configuration parsing including functions
This commit is contained in:
commit
9e701b0fb3
@ -41,7 +41,7 @@ var options = {
|
||||
, svg: system.args[3] === 'true' ? true : false
|
||||
, css: fs.read(system.args[4])
|
||||
, sequenceConfig: system.args[5] !== 'null' ? JSON.parse(fs.read(system.args[5])) : '{}'
|
||||
, ganttConfig: system.args[6] !== 'null' ? fs.read(system.args[6]) : '{}'
|
||||
, ganttConfig: system.args[6] !== 'null' ? JSON.parse(fs.read(system.args[6])) : '{}'
|
||||
, verbose: system.args[7] === 'true' ? true : false
|
||||
, width: width
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user