Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

chore: fix caching of ignored files #111

Merged
merged 1 commit into from
Oct 19, 2023

Conversation

mdjermanovic
Copy link
Contributor

Fixes getConfig() caching for ignored files.

Configs for ignored files are stored as undefined in the cache, so if (finalConfig) was treating them as cache misses.

@nzakas
Copy link
Contributor

nzakas commented Oct 16, 2023

Can you add a test for this?

Copy link
Contributor

@nzakas nzakas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, I see that we basically can't create a test because the return value is the same, it's just the amount of time it takes to get there.

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

Successfully merging this pull request may close these issues.

2 participants