testing in prod moment
This commit is contained in:
parent
5f233246e9
commit
c8f6f33481
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue