Fix weird string interpolation

master
Marrub 2016-11-13 16:24:33 -05:00
父節點 5fdfe4a910
當前提交 2a62e0aa4c
共有 1 個檔案被更改,包括 1 行新增1 行删除

查看文件

@ -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