-
-
Notifications
You must be signed in to change notification settings - Fork 851
Closed
Labels
Description
A "Lists should be surrounded by blank lines" error is raised for the line line 2 (L2) in the following code block, even though it's not raised for a very similar code block further up the file.
L1: <pre><code class="javascript">(function() {
L2: cp.execFileSync('rm', ['-rf', path.join(__dirname, "temp")]); // GOOD
L3: cp.execSync(<strong>'rm -rf ' + path.join(__dirname, "temp")</strong>); // BAD
I would not expect this to trigger an error.
You can see an example of this in github/vscode-codeql#3872 where CI is failing when running markdown lint on this file, specifically on this line.
This has started happening with v0.15.0.