mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-22 05:40:48 +02:00
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
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:
parent
6553043de2
commit
23f709b0dc
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue