From 29af91ca9c8af8c49cf49f1b7653513be90d11d2 Mon Sep 17 00:00:00 2001 From: ssendev Date: Thu, 27 Apr 2017 18:54:11 +0200 Subject: [PATCH] Allow revision-data: scm: null --- lib/scm-table.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/scm-table.js b/lib/scm-table.js index 7bc17f6..6b5f6c0 100644 --- a/lib/scm-table.js +++ b/lib/scm-table.js @@ -64,9 +64,9 @@ module.exports = CoreObject.extend({ var row = [ ((revision.active) ? '> ' : ' ') + data.revisionKey, - data.scm.sha.substr(0,8), - data.scm.email, - data.scm.branch, + data.scm && data.scm.sha.substr(0,8), + data.scm && data.scm.email, + data.scm && data.scm.branch, ]; if (this._isWide()) {