Browse Source

Fix weird string interpolation

master
Marrub 5 years ago
parent
commit
2a62e0aa4c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/events.js

+ 1
- 1
src/events.js View File

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


Loading…
Cancel
Save