diff --git a/lib/get-message.js b/lib/get-message.js index b7e71045..6e751256 100644 --- a/lib/get-message.js +++ b/lib/get-message.js @@ -1,4 +1,4 @@ -const template = require('es6-template-strings') +const _ = require('lodash') module.exports = async function (commitMessages, key, values) { if (!Object.prototype.hasOwnProperty.call(commitMessages, key)) { @@ -7,5 +7,5 @@ module.exports = async function (commitMessages, key, values) { const templateValues = Object.assign({}, values) - return template(commitMessages[key], templateValues) + return _.template(commitMessages[key])(templateValues) } diff --git a/package.json b/package.json index 0e5199f3..2acb390e 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,6 @@ "catbox-memory": "^2.0.4", "couchdb-bootstrap": "^1.14.0", "envalid": "^4.0.1", - "es6-template-strings": "^2.0.1", "escape-string-regexp": "^1.0.5", "github-url-from-git": "^1.4.0", "gk-log": "1.2.0",