linkinator icon indicating copy to clipboard operation
linkinator copied to clipboard

Doesn't find config file if no flags are passed

Open karlbrown-va opened this issue 9 months ago • 0 comments

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.

karlbrown-va avatar May 16 '24 14:05 karlbrown-va