Skip to content
New issue

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

fix: always remove cache using root directory #65

Merged
merged 1 commit into from
Sep 30, 2020

Conversation

brandonocasey
Copy link
Contributor

The previous pr doesn't really work as npm moves process.cwd to the install directory of the current package ie : node_modules/videojs-standard/ so we were only removing node_modules/videojs-standard/.eslintcache :doh: .
I should have pushed back more on using INIT_CWD but falling back to process.cwd() and we should use find-root to make sure that we always look in the project root directory.

@brandonocasey brandonocasey merged commit 5dce8e3 into master Sep 30, 2020
@brandonocasey brandonocasey deleted the fix/remove-cache-root branch September 30, 2020 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants