From 2a62e0aa4c37efb2cc82782ba79357eeeef1d3ca Mon Sep 17 00:00:00 2001 From: Marrub Date: Sun, 13 Nov 2016 16:24:33 -0500 Subject: [PATCH] Fix weird string interpolation --- src/events.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/events.js b/src/events.js index 6e22098..8059905 100644 --- a/src/events.js +++ b/src/events.js @@ -188,7 +188,7 @@ function commitMsg(repo, commit) const uri = struri(`${repo.uri}/commit/${commit.id}`); const msg = esc(clipstr(commit.message.split(/\r?\n/)[0], 64)); const name = esc(commit.author.name); - return `${uristr(`\`${shorthash}\``, uri)} ${msg} - *${name}*\n`; + return uristr("`" + shorthash + "`", uri) + ` ${msg} - *${name}*\n`; } export default class Events