Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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)
- Loading branch information