Skip to content

Commit 9bdc480

Browse files
committed
remove runguard.stderr
1 parent 640d501 commit 9bdc480

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/tasks/run.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ async function execRun (job: RunJob): Promise<RunResult> {
3535

3636
// Check for compile_stderr if can't find a stdout file ; stdout can be ''
3737
const compile_stderr = cat(path.join(currentJobDir, 'compile.stderr')).toString()
38-
const runguard_stderr = cat(path.join(currentJobDir, 'runguard.stderr')).toString()
39-
let stderr = runguard_stderr || compile_stderr || cat((path.join(currentJobDir, 'run.stderr')).toString())
38+
let stderr = compile_stderr || cat((path.join(currentJobDir, 'run.stderr')).toString())
4039

4140
const run_time = cat(path.join(currentJobDir, 'runguard.time')).toString()
4241
const code = cat(path.join(currentJobDir, 'runguard.code')).toString()

src/tasks/submission.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ async function execSubmission(job: SubmissionJob): Promise<SubmissionResult> {
3333

3434
// Check for compile_stderr if can't find a stdout file ; stdout can be ''
3535
const compile_stderr = cat(path.join(currentJobDir, 'compile.stderr')).toString()
36-
const runguard_stderr = cat(path.join(currentJobDir, 'runguard.stderr')).toString()
37-
let stderr = runguard_stderr || compile_stderr || cat((path.join(currentJobDir, 'run.stderr')).toString())
36+
let stderr = compile_stderr || cat((path.join(currentJobDir, 'run.stderr')).toString())
3837

3938
rm('-rf', currentJobDir)
4039

0 commit comments

Comments
 (0)