mirror of
https://github.com/engineer-man/piston.git
synced 2025-05-09 05:16:28 +02:00
dont trim output
This commit is contained in:
parent
ac44a5c373
commit
16c585d41d
1 changed files with 3 additions and 3 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue