dont trim output
This commit is contained in:
parent
ac44a5c373
commit
16c585d41d
|
@ -37,9 +37,9 @@ function execute(language, source, stdin = '', args = []) {
|
||||||
});
|
});
|
||||||
|
|
||||||
process.on('exit', code => {
|
process.on('exit', code => {
|
||||||
stderr = stderr.trim().substring(0, OUTPUT_LIMIT);
|
stderr = stderr.substring(0, OUTPUT_LIMIT);
|
||||||
stdout = stdout.trim().substring(0, OUTPUT_LIMIT);
|
stdout = stdout.substring(0, OUTPUT_LIMIT);
|
||||||
output = output.trim().substring(0, OUTPUT_LIMIT);
|
output = output.substring(0, OUTPUT_LIMIT);
|
||||||
|
|
||||||
resolve({
|
resolve({
|
||||||
stdout,
|
stdout,
|
||||||
|
|
Loading…
Reference in New Issue