markdown-link-check icon indicating copy to clipboard operation
markdown-link-check copied to clipboard

`ignorePatterns` doesn't prevent error on directories

Open janosh opened this issue 2 years ago • 2 comments

With this config,

{
  "ignorePatterns": [{ "pattern": "^./src/routes/" }]
}

and this link

```md
[link to directory](./src/routes/dir)
```

I still get the error

ERROR: ./src/routes/dir is a directory! Please provide a valid filename as an argument.

janosh avatar Dec 01 '22 05:12 janosh

Hi @janosh, how did you get the error? Is it implemented as a part of markdown-link-check or is that your own functionality?

solarjan97 avatar Apr 26 '23 13:04 solarjan97

This was using gaurav-nelson/github-action-markdown-link-check in this repo iirc.

janosh avatar Apr 26 '23 14:04 janosh