JustinBeckwith / linkinator

🐿 Scurry around your site and find all those broken links.
MIT License
1.04k stars 80 forks source link

Doesn't find config file if no flags are passed #600

Closed karlbrown-va closed 4 months ago

karlbrown-va commented 6 months ago

Linkinator 6.0.4 doesn't find my config file. It's in the current working directory at the top of my source tree. It does work if I pass with --config option.

I think it's due to these lines in config.ts

    if (flags.config) {
        config = await parseConfigFile(configPath);
    }

as such it will only read the config file if flags are passed in.

JustinBeckwith commented 4 months ago

Yup, that is totally busted 😆 Fix incomin.

github-actions[bot] commented 4 months ago

:tada: This issue has been resolved in version 6.0.7 :tada:

The release is available on:

Your semantic-release bot :package::rocket: