From 9299751eadf72632cac47ae07af596f5bf1e821f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yoann=20Rodi=C3=A8re?= Date: Fri, 8 Nov 2024 09:37:23 +0100 Subject: [PATCH] Fix weird formatting in missing guide warnings We don't want this: > Guide Guide{url=https://cn.quarkus.io/guides/extension-faq} is ignored since we were not able to find an HTML content file for it. "Guide" is repeated, that's weird. We want this: > Guide{url=https://cn.quarkus.io/guides/extension-faq} is ignored since we were not able to find an HTML content file for it. --- src/main/java/io/quarkus/search/app/quarkusio/QuarkusIO.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/quarkus/search/app/quarkusio/QuarkusIO.java b/src/main/java/io/quarkus/search/app/quarkusio/QuarkusIO.java index 3f3185aa..2dcbdc04 100644 --- a/src/main/java/io/quarkus/search/app/quarkusio/QuarkusIO.java +++ b/src/main/java/io/quarkus/search/app/quarkusio/QuarkusIO.java @@ -565,7 +565,7 @@ private Guide createCoreGuide(GitCloneDirectory cloneDirectory, String quarkusVe // So if it's missing, that's important context when investigating other errors. failureCollector.info( FailureCollector.Stage.TRANSLATION, - "Guide " + guide + " is ignored since we were not able to find an HTML content file for it."); + guide + " is ignored since we were not able to find an HTML content file for it."); return null; }