We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2fa3ce commit 4fde1c1Copy full SHA for 4fde1c1
src/scripts/clear-assets.ts
@@ -145,7 +145,7 @@ async function main() {
145
if (!hasSelectiveOptions) {
146
console.log('No selective options provided, performing full reset...');
147
if (fs.existsSync(config.cacheDir)) {
148
- fs.rmdirSync(config.cacheDir, { recursive: true });
+ fs.rmSync(config.cacheDir, { recursive: true, force: true });
149
}
150
fs.mkdirSync(config.cacheDir, { recursive: true });
151
executeCmd('npm run run-db-migration');
0 commit comments