mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-19 20:24:16 +01:00
Merge pull request #435 from whyzdev/issue428_fix_gantt_cli_cfg
fix gantt and sequence digram cli cfg
This commit is contained in:
@@ -75,8 +75,7 @@ function Log(level) {
|
||||
args.unshift('[' + formatTime(new Date()) + '] ');
|
||||
console.log.apply(console, args.map(function(a){
|
||||
if (typeof a === "object") {
|
||||
if (a.stack !== undefined) { return a.stack; }
|
||||
return JSON.stringify(a, null, 2);
|
||||
return a.toString() + JSON.stringify(a, null, 2);
|
||||
}
|
||||
return a;
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user