Merge pull request #444 from Brikaa/code-files

Nix Piston: Only pass code files to compiling
This commit is contained in:
Thomas Hobson 2022-02-19 23:43:27 +13:00 committed by GitHub
commit 04de31b946
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ class Job {
if (this.runtime.compiled) { if (this.runtime.compiled) {
compile = await this.safe_call( compile = await this.safe_call(
this.runtime.compile, this.runtime.compile,
this.files.map(x => x.name), code_files.map(x => x.name),
this.timeouts.compile, this.timeouts.compile,
this.memory_limits.compile this.memory_limits.compile
); );