mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 22:10:13 +01:00
Try adding @ts-ignore/etc. to resolve Windows/Node 14-only break when ci script invokes build-demo.
This commit is contained in:
parent
d5b1122ef1
commit
01d216ff6a
3 changed files with 8 additions and 2 deletions
|
|
@ -106,12 +106,14 @@ module.exports = {
|
|||
if (matchLength === effectiveEmphasisLength) {
|
||||
// Ending an existing run, report any pending error
|
||||
if (pendingError) {
|
||||
// @ts-ignore
|
||||
addErrorContext(...pendingError);
|
||||
pendingError = null;
|
||||
}
|
||||
const error = handleRunEnd(
|
||||
line, lineIndex, effectiveEmphasisLength, match, matchIndex);
|
||||
if (error) {
|
||||
// @ts-ignore
|
||||
addErrorContext(...error);
|
||||
}
|
||||
// Reset
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue