mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
Tools: Fixed formatting of git changelog
This commit is contained in:
parent
faf5eac806
commit
c9f1715899
@ -210,7 +210,8 @@ function formatCommitMessage(msg, author, options) {
|
||||
}
|
||||
|
||||
let authorMd = null;
|
||||
if (author && (author.login || author.name) && author.login !== 'laurent22') {
|
||||
const isLaurent = author.login === 'laurent22' || author.email === 'laurent22@users.noreply.github.com';
|
||||
if (author && (author.login || author.name) && !isLaurent) {
|
||||
if (author.login) {
|
||||
const escapedLogin = author.login.replace(/\]/g, '');
|
||||
authorMd = `[@${escapedLogin}](https://github.com/${encodeURI(author.login)})`;
|
||||
|
Loading…
Reference in New Issue
Block a user