Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ignorePatterns doesn't prevent error on directories #224

Open
janosh opened this issue Dec 1, 2022 · 2 comments
Open

ignorePatterns doesn't prevent error on directories #224

janosh opened this issue Dec 1, 2022 · 2 comments

Comments

@janosh
Copy link
Contributor

janosh commented Dec 1, 2022

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.
@solarjan97
Copy link

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

@janosh
Copy link
Contributor Author

janosh commented Apr 26, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants