We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
var cacheKey = pattern + "\n" + Object.keys(options).filter(function (k) { return options[k] }).join(":")
This creates a cachekey with the key names of all truthy options rather than their values (since it is using filter and not map).
Causes issues when two calls have the same pattern but only differ in the value of options.cwd
options.cwd
I guess it should be something like:
var cacheKey = pattern + "\n" + Object.keys(options).map(function (k) { return k + '=' + options[k] }).join(":")
The text was updated successfully, but these errors were encountered:
274286d
No branches or pull requests
This creates a cachekey with the key names of all truthy options rather than their values (since it is using filter and not map).
Causes issues when two calls have the same pattern but only differ in the value of
options.cwd
I guess it should be something like:
The text was updated successfully, but these errors were encountered: