diff --git a/scripts/lint/check_mermaid.mjs b/scripts/lint/check_mermaid.mjs
index 71aac2d5d8d5cf4612c53a8281385aae418a1580..c5def7ed2c79cffd5345bc47ed18cf89fea10c7e 100755
--- a/scripts/lint/check_mermaid.mjs
+++ b/scripts/lint/check_mermaid.mjs
@@ -72,6 +72,6 @@ await Promise.all(
 if (errors > 0) {
   console.log(`Total errors: ${errors}`);
   // eslint-disable-next-line no-restricted-syntax
-  console.log(`To fix these errors, see https://docs.gitlab.com/ee/development/documentation/testing/#tests-in-mermaidlint.`);
+  console.log(`To fix these errors, see https://docs.gitlab.com/ee/development/documentation/testing/#mermaid-chart-linting.`);
   process.exit(1);
 }