TidGi-Desktop/scripts/developmentMkdir.ts
lin onetwo a42af638b6 lint
2025-10-31 00:10:44 +08:00

9 lines
227 B
TypeScript

import fs from 'fs-extra';
import { DEFAULT_FIRST_WIKI_FOLDER_PATH } from '../src/constants/paths';
try {
fs.removeSync(DEFAULT_FIRST_WIKI_FOLDER_PATH);
} catch {
// ignore
}
fs.mkdirpSync(DEFAULT_FIRST_WIKI_FOLDER_PATH);