mirror of
https://github.com/modrinth/code.git
synced 2026-08-03 06:35:53 +00:00
trim all those extra newlines
This commit is contained in:
@@ -1510,8 +1510,8 @@ async function assembleFullMessage() {
|
||||
|
||||
return expandVariables(
|
||||
parts
|
||||
.map((p) => p.content)
|
||||
.filter((c) => c.trim().length > 0)
|
||||
.map((p) => p.content.trim())
|
||||
.filter((c) => c.length > 0)
|
||||
.join('\n\n'),
|
||||
projectV2.value,
|
||||
projectV3.value,
|
||||
|
||||
Reference in New Issue
Block a user