Skip to content
Permalink
Browse files
fix(icon): clean cacheDir when generating icons
  • Loading branch information
pi0 committed Aug 13, 2020
1 parent ce3bbc0 commit 1e6eb19851bbb6bcb51106cea5611475edec75cc
Showing 1 changed file with 1 addition and 1 deletion.
@@ -214,7 +214,7 @@ async function resizeIcons (options) {
if (await fs.exists(options.integrityFile)) {
return
}

await fs.remove(options._cacheDir)
await fs.mkdirp(options._cacheDir)

await new Promise((resolve, reject) => {

0 comments on commit 1e6eb19

Please sign in to comment.