From 20c78ce130121b8064b93d7469e9d57533d8e1a2 Mon Sep 17 00:00:00 2001 From: Matias Pando Date: Thu, 28 Aug 2014 10:00:18 -0300 Subject: [PATCH] Minor cosmetic fixes --- util/build.js | 2 +- views/includes/version.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/util/build.js b/util/build.js index 3382fbb3f..2ea62d84c 100644 --- a/util/build.js +++ b/util/build.js @@ -15,7 +15,7 @@ var getCommitHash = function() { //exec git command to get the hash of the current commit //git rev-parse HEAD - var hash = shell.exec('git rev-parse HEAD').output.trim().substr(0,10); + var hash = shell.exec('git rev-parse HEAD',{silent:true}).output.trim().substr(0,7); return hash; } diff --git a/views/includes/version.html b/views/includes/version.html index f3a19d227..8ad2c64c5 100644 --- a/views/includes/version.html +++ b/views/includes/version.html @@ -1,6 +1,6 @@
v{{version}} + #{{commitHash}} [ {{networkName}} ] - {{commitHash}}