testing in prod moment

This commit is contained in:
murm 2023-03-15 10:48:58 -04:00
parent 5f233246e9
commit c8f6f33481
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ class ExecCommand extends Command {
const code = this.options.cmd ?? this.args.join(" ");
try {
const execed = await exec(code);
if (execed.stderr) return `\`\`\`\n${await clean(execed.stderr)}\n\`\`\``;
if (execed.stderr) return `${await clean(execed.stderr)}`;
const cleaned = await clean(execed.stdout);
const sendString = `\`\`\`bash\n${cleaned}\n\`\`\``;
if (sendString.length >= 2000) {