Skip to content

Commit

Permalink
Ignore profile template in category validation
Browse files Browse the repository at this point in the history
  • Loading branch information
Ostrzyciel committed Dec 14, 2023
1 parent d80c112 commit f48cdaf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/scala/commands/ValidateCategoryCommand.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit f48cdaf

Please sign in to comment.