From a5a3bc8b7c8d9d218d7b8aceab88ef59ffaf4569 Mon Sep 17 00:00:00 2001 From: Raghu Rajagopalan Date: Tue, 26 Apr 2016 22:52:27 +0530 Subject: [PATCH] fix logging output in prettyprint --- src/diagrams/gitGraph/gitGraphAst.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/diagrams/gitGraph/gitGraphAst.js b/src/diagrams/gitGraph/gitGraphAst.js index 4dbfec4b0..278ad6663 100644 --- a/src/diagrams/gitGraph/gitGraphAst.js +++ b/src/diagrams/gitGraph/gitGraphAst.js @@ -147,7 +147,7 @@ function prettyPrintCommitHistory(commitArr) { _.each(branches, function(v,k){ if (v == commit.id) label.push(k); }); - log.debug(label); + log.debug(label.join(' ')); if (Array.isArray(commit.parent)) { //console.log("here", commit.parent); var newCommit = commits[commit.parent[0]];