Remove error if i doesn't exist, remove useless line

This commit is contained in:
Vrganj 2021-01-25 18:46:06 +01:00
parent 53842e8582
commit 659593c60d
2 changed files with 1 additions and 2 deletions

View file

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