let pathToDefault: string | null = null;
if (!isPath) {
pathToDefault = import.meta.resolve(config.extends);
} catch (_err) {
// maybe the module uses key for some other reason,
// err on side of caution.