Skip to content

Commit d950de0

Browse files
yolo
Pull request for issue #79
2 parents 49d1384 + f67f065 commit d950de0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

remind/read-commits.mts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,11 +298,11 @@ if (nonCommitters.length > 0) {
298298
shuffle(nonCommitters)
299299
let out = ''
300300
for (const line of lines) {
301-
const next = nonCommitters.pop()
302301
if (line.trim()) {
302+
const next = nonCommitters.pop()
303303
out += `${line}${next ? ` <@${discords[next]}>` : ''}\n`
304304
} else {
305-
out += `${next ? `<@${discords[next]}>` : ''}\n`
305+
out += '\n'
306306
}
307307
}
308308
await fetch(process.env.DISCORD_WEBHOOK_URL || '', {

0 commit comments

Comments
 (0)