fix: no blanks

This commit is contained in:
Saahil 2025-01-03 21:27:26 -05:00 committed by GitHub
parent 8156fef09a
commit bef69fc50b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -47,8 +47,10 @@ export default class UUID implements Command {
e.elements
.filter((e) => e.type == "text")
.map((e) => e.text)
.join(""),
);
.join("")
)
.map((e) => e.trim())
.map(Boolean);
for (const c of contents) {
//@ts-ignore
const contentToUpload = c;