Address new code analysis issues from previous commit.
Some checks are pending
Checkers / linkcheck (push) Waiting to run
Checkers / spellcheck (push) Waiting to run
CI / build (20, macos-latest) (push) Waiting to run
CI / build (20, ubuntu-latest) (push) Waiting to run
CI / build (20, windows-latest) (push) Waiting to run
CI / build (22, macos-latest) (push) Waiting to run
CI / build (22, ubuntu-latest) (push) Waiting to run
CI / build (22, windows-latest) (push) Waiting to run
CI / build (24, macos-latest) (push) Waiting to run
CI / build (24, ubuntu-latest) (push) Waiting to run
CI / build (24, windows-latest) (push) Waiting to run
CI / pnpm (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
TestRepos / build (latest, ubuntu-latest) (push) Waiting to run
UpdateTestRepos / update (push) Waiting to run

This commit is contained in:
David Anson 2025-09-03 03:08:02 +00:00
parent 6553043de2
commit 23f709b0dc

View file

@ -33,7 +33,7 @@ function createTestForFile(file) {
.filter((error) => !!error.ruleInformation); .filter((error) => !!error.ruleInformation);
for (const error of errors) { for (const error of errors) {
error.ruleInformation = error.ruleInformation =
error.ruleInformation.replace(/v\d+\.\d+\.\d+/, "v0.0.0"); error.ruleInformation.replace(/v\d+\.\d+\.\d+/, "v0.0.0");
} }
// Match identified issues by MD### markers // Match identified issues by MD### markers
const marker = /\{(MD\d+)(?::([-+]?)(\d+))?\}/g; const marker = /\{(MD\d+)(?::([-+]?)(\d+))?\}/g;