From 3bd84439df53f0cc257088a2bf780c4d49ac8b16 Mon Sep 17 00:00:00 2001 From: "Florian (Feuermagier)" Date: Sat, 13 Jul 2024 15:19:08 +0200 Subject: [PATCH] fix again --- .github/workflows/build.yml | 6 ++---- .../src/main/java/de/firemage/autograder/core/Linter.java | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3c85eb3a..595cc613 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -49,8 +49,7 @@ jobs: - uses: actions/upload-artifact@v4 with: name: autograder-cmd - path: | - autograder-cmd/target/autograder-cmd.jar + path: autograder-cmd/target/autograder-cmd.jar if-no-files-found: error # Release only when pushing to a tag @@ -59,5 +58,4 @@ jobs: if: startsWith(github.ref, 'refs/tags/') with: body: 'Minor Release (mostly for the automatic download of the jar file)' - files: | - autograder-cmd/target/autograder-cmd.jar + files: autograder-cmd/target/autograder-cmd.jar diff --git a/autograder-core/src/main/java/de/firemage/autograder/core/Linter.java b/autograder-core/src/main/java/de/firemage/autograder/core/Linter.java index fd3cf020..68c5a0e2 100644 --- a/autograder-core/src/main/java/de/firemage/autograder/core/Linter.java +++ b/autograder-core/src/main/java/de/firemage/autograder/core/Linter.java @@ -150,7 +150,7 @@ public List checkFile( unreducedProblems = result .problems() .stream() - .filter(problem -> checkConfiguration.problemsToReport().contains(problem.getType())) + .filter(problem -> checkConfiguration.problemsToReport().contains(problem.getProblemType())) .toList(); }