mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-17 06:20:12 +01:00
Add 2 missing trailing semicolons.
This commit is contained in:
parent
ab0ea70b7f
commit
4c7cc9c326
3 changed files with 4 additions and 4 deletions
|
|
@ -27,7 +27,7 @@ module.exports = {
|
|||
const openingFence = tokenIfType(fencedCode.children[0], "codeFencedFence");
|
||||
if (openingFence) {
|
||||
const { children, startLine, text } = openingFence;
|
||||
const info = getTokenTextByType(children, "codeFencedFenceInfo")
|
||||
const info = getTokenTextByType(children, "codeFencedFenceInfo");
|
||||
if (!info) {
|
||||
addErrorContext(onError, startLine, text);
|
||||
} else if ((allowed.length > 0) && !allowed.includes(info)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue