Skip to content

Commit 4511cbe

Browse files
veluca93Virv12
authored andcommitted
Fix copying when running outside the task folder.
1 parent 51c88f6 commit 4511cbe

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

task-maker-format/src/ioi/dag/input_generator.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ impl InputGenerator {
3434
) -> Result<(FileUuid, Option<Execution>), Error> {
3535
match self {
3636
InputGenerator::StaticFile(path) => {
37+
let path = &task_path.join(path);
3738
if !path.exists() {
3839
bail!("COPY from not existing file: {:?}", path);
3940
}

0 commit comments

Comments
 (0)