Merge pull request #430 from whyzdev/issue428_fix_gantt_cli_cfg

fix gantt chart cli configuration parsing including functions
This commit is contained in:
Knut Sveidqvist 2016-12-11 14:01:56 +01:00 committed by GitHub
commit 9e701b0fb3
1 changed files with 1 additions and 1 deletions

View File

@ -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
}