From f48cdafb90f0fa87a6154fc91137c29d322201b2 Mon Sep 17 00:00:00 2001 From: Ostrzyciel Date: Thu, 14 Dec 2023 17:33:58 +0100 Subject: [PATCH] Ignore profile template in category validation Issue: https://github.com/RiverBench/RiverBench/issues/62 --- src/main/scala/commands/ValidateCategoryCommand.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/scala/commands/ValidateCategoryCommand.scala b/src/main/scala/commands/ValidateCategoryCommand.scala index 5369e82..f84705a 100644 --- a/src/main/scala/commands/ValidateCategoryCommand.scala +++ b/src/main/scala/commands/ValidateCategoryCommand.scala @@ -30,6 +30,7 @@ object ValidateCategoryCommand extends Command: val profileFiles = repoDir.resolve("profiles").toFile.listFiles() .filter(f => f.isFile && f.getName.endsWith(".ttl")) + .filter(_.getName != "template.ttl") def noCheck(m: Model) = Seq()