From 4e63aebbcc850be2186f2bebc6289228797af41c Mon Sep 17 00:00:00 2001 From: Amy Qualls <aqualls@gitlab.com> Date: Fri, 26 Apr 2024 14:52:03 -0700 Subject: [PATCH] Updates URL in error message As part of fixing the mermaidlint internal documentation, the name of the subheading needed to change. Updates the error message to point to the new location. --- scripts/lint/check_mermaid.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lint/check_mermaid.mjs b/scripts/lint/check_mermaid.mjs index 71aac2d5d8d5c..c5def7ed2c79c 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); } -- GitLab