This commit is contained in:
Tim Taubert 2016-06-03 19:05:44 +02:00
Родитель 336247ae49
Коммит b6714fb050
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -42,7 +42,7 @@ tcc.onTaskDefined(async function (msg) {
let changesets = await hg.fetchChangesets(th.revision);
for (let changeset of changesets) {
irc.say(`[${level}] ${changeset.href} - ${changeset.author.name} - ${changeset.desc}`);
irc.say(`[${level}] ${changeset.href} ${changeset.author.name} ${changeset.desc}`);
}
});
@ -74,11 +74,11 @@ tcc.onTaskFailed(async function (msg) {
let level = colors.red("failure");
let blame = unique(authors.map(author => author.name)).join(", ");
irc.say(`[${level}] ${url} - ${task.metadata.name} @ ${platform} ${collection} (blame: ${blame})`);
irc.say(`[${level}] ${url} ${task.metadata.name} @ ${platform} ${collection} (blame: ${blame})`);
// Build descriptions.
let descriptions = changesets.map(changeset => {
return `${changeset.author.name} - ${changeset.desc}\n${changeset.href}`;
return `${changeset.author.name} ${changeset.desc}\n${changeset.href}`;
});
// Send emails.