1
0
Fork 0
mirror of https://github.com/engineer-man/piston.git synced 2025-05-13 15:16:26 +02:00

Merge pull request 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

View file

@ -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
);