1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-11-17 16:30:58 -05:00

Also fix stupidity

This commit is contained in:
AnxietyisReal 2024-01-07 20:49:49 +11:00
parent c53841f0e6
commit cd99b7f856

View File

@ -67,8 +67,8 @@ export default class Developer {
`Message: **${repoData.commit.message.length === 0 ? '*No commit message*' : repoData.commit.message}**`,
`Author: **${repoData.commit.author.name}**`,
'Changes',
`${commitStats.addition.length > 1 ? `Additions:` : 'Addition:'} **${commitStats.addition}**`,
`${commitStats.deletion.length > 1 ? `Deletions:` : 'Deletion:'} **${commitStats.deletion}**`,
`Additions: **${commitStats.addition}**`,
`Deletions: **${commitStats.deletion}**`,
`╰ Total: **${commitStats.total}**`
);
exec('git pull', {windowsHide:true}, (err:Error, stdout)=>{