This repository has been archived by the owner on Sep 28, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed: fallback to OS temp directory if findCacheDir fails (#154)
* Fallback to os temp directory if findCacheDir fail From the readme: `Finds the cache dir using the supplied options. The algorithm tries to find a package.json file, searching every parent directory of the cwd specified (or implied from other options). It returns a string containing the absolute path to the cache directory, or null if package.json was never found.` This is a fallback for null condition. Investigated after @gaearon comments on facebook/create-react-app#1578 (comment) * remove semicolon to align with overall code style * Use double quotes instead of single quotes To pass CI
- Loading branch information