1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-11-17 04:10:59 -05:00

Also fix stupidity

This commit is contained in:
toast-ts 2024-01-07 20:49:49 +11:00
parent 65240ab211
commit 026b34b811

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)=>{