dont trim output

This commit is contained in:
Brian Seymour 2021-03-14 22:08:56 -05:00
parent ac44a5c373
commit 16c585d41d
1 changed files with 3 additions and 3 deletions

View File

@ -37,9 +37,9 @@ function execute(language, source, stdin = '', args = []) {
});
process.on('exit', code => {
stderr = stderr.trim().substring(0, OUTPUT_LIMIT);
stdout = stdout.trim().substring(0, OUTPUT_LIMIT);
output = output.trim().substring(0, OUTPUT_LIMIT);
stderr = stderr.substring(0, OUTPUT_LIMIT);
stdout = stdout.substring(0, OUTPUT_LIMIT);
output = output.substring(0, OUTPUT_LIMIT);
resolve({
stdout,