From 55a25d12a1d50b5354a5c5b0206b512d0c64fe28 Mon Sep 17 00:00:00 2001 From: IThundxr Date: Sat, 24 Aug 2024 16:05:38 -0400 Subject: [PATCH] add better logging to validate module task --- .../porting_lib_build/tasks/ValidateModuleTask.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildSrc/src/main/java/io/github/fabricators_of_create/porting_lib_build/tasks/ValidateModuleTask.java b/buildSrc/src/main/java/io/github/fabricators_of_create/porting_lib_build/tasks/ValidateModuleTask.java index 65bc878c..fdec5d1c 100644 --- a/buildSrc/src/main/java/io/github/fabricators_of_create/porting_lib_build/tasks/ValidateModuleTask.java +++ b/buildSrc/src/main/java/io/github/fabricators_of_create/porting_lib_build/tasks/ValidateModuleTask.java @@ -135,7 +135,7 @@ private void checkReadMe(Path readMe, String name) throws IOException { if (module.equals(formatted)) return; // found it } - assertTrue(false, "Module does not have an entry in the README table"); + assertTrue(false, "Module \"" + name + "\" does not have an entry in the README table"); } private static List getMixinFilenames(JsonObject mixins, String side) {