Skip to content

Commit 1e6eb19

Browse files
committed
fix(icon): clean cacheDir when generating icons
1 parent ce3bbc0 commit 1e6eb19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/icon/module.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ async function resizeIcons (options) {
214214
if (await fs.exists(options.integrityFile)) {
215215
return
216216
}
217-
217+
await fs.remove(options._cacheDir)
218218
await fs.mkdirp(options._cacheDir)
219219

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

0 commit comments

Comments
 (0)