Actually fix this shit
This commit is contained in:
parent
0c1357903b
commit
a2467ce453
1 changed files with 1 additions and 3 deletions
|
@ -22,11 +22,9 @@ module.exports = {
|
||||||
let regex = /.{0,7} /
|
let regex = /.{0,7} /
|
||||||
let commitMsg = stdout.replace(regex, "")
|
let commitMsg = stdout.replace(regex, "")
|
||||||
process.stdout.write(stdout)
|
process.stdout.write(stdout)
|
||||||
msg.edit(`${sendText}\n\nNewest commit:\n${stdout.split(" ")[1]}`)
|
msg.edit(`${sendText}\n\nNewest commit:\n${commitMsg}`)
|
||||||
if (err) console.log(stderr)
|
if (err) console.log(stderr)
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
if (err) {
|
if (err) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue