1
0
Форкнуть 0

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