diff --git a/scripts/developmentMkdir.ts b/scripts/developmentMkdir.ts index 75e51c48..179686ee 100644 --- a/scripts/developmentMkdir.ts +++ b/scripts/developmentMkdir.ts @@ -1,4 +1,7 @@ import fs from 'fs-extra'; import { DEFAULT_WIKI_FOLDER } from '../src/constants/paths'; +try { + fs.removeSync(DEFAULT_WIKI_FOLDER); +} catch {} fs.mkdirpSync(DEFAULT_WIKI_FOLDER);