From bc5991bf6b07f5d2a7bd073b5bfcfa67b07b0429 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Cruz?= Date: Thu, 24 Nov 2016 17:46:09 +0100 Subject: [PATCH] fix(message): fix commitMessageFull --- lib/gitProperties.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gitProperties.js b/lib/gitProperties.js index 8c022bb..2290b2b 100755 --- a/lib/gitProperties.js +++ b/lib/gitProperties.js @@ -30,7 +30,7 @@ module.exports = { var gitProperties = { 'git.commit.id.abbrev': git.commitId.substring(0, 7), 'git.commit.user.email': git.commitUserEmail, - 'git.commit.message.full': git.commitMessageFull, + 'git.commit.message.full': git.commitMessageFull.replace(/(?:\r\n|\r|\n)/g, '\\n'), 'git.commit.id': git.commitId, 'git.commit.message.short': git.commitMessageShort, 'git.commit.user.name': git.commitUserName,