Skip to content

Commit

Permalink
fix gantt chart cli configuration parsing including functions
Browse files Browse the repository at this point in the history
  • Loading branch information
whyzdev committed Dec 10, 2016
1 parent 3c03c84 commit 95a0cb5
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 95a0cb5

Please sign in to comment.