write readme

This commit is contained in:
Randall Schmidt
2020-04-17 16:56:05 -04:00
parent 5d0147f6fd
commit 15a87fac5a
2 changed files with 46 additions and 2 deletions

View File

@ -55,7 +55,7 @@ function createFetch(cacheDirPath) {
return async (...args) => {
if (!madeDir) {
try {
await fs.promises.mkdir(cacheDirPath);
await fs.promises.mkdir(cacheDirPath, { recursive: true });
} catch (err) {
// Ignore.
}