Skip to content

Commit

Permalink
Merge pull request #430 from whyzdev/issue428_fix_gantt_cli_cfg
Browse files Browse the repository at this point in the history
fix gantt chart cli configuration parsing including functions
  • Loading branch information
knsv authored Dec 11, 2016
2 parents 3c03c84 + 95a0cb5 commit 9e701b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/phantomscript.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 9e701b0

Please sign in to comment.