From 30f49f22b14ea221170fe91fd5c578378431faad Mon Sep 17 00:00:00 2001 From: Omar Brikaa Date: Fri, 18 Feb 2022 14:50:00 +0200 Subject: [PATCH] Nix Piston: Only pass code files to compiling --- api/src/job.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/job.js b/api/src/job.js index 326595c..491bb75 100644 --- a/api/src/job.js +++ b/api/src/job.js @@ -237,7 +237,7 @@ class Job { if (this.runtime.compiled) { compile = await this.safe_call( this.runtime.compile, - this.files.map(x => x.name), + code_files.map(x => x.name), this.timeouts.compile, this.memory_limits.compile );