feat: create tmp folder before use

This commit is contained in:
tiddlygit-test 2021-05-04 20:19:58 +08:00
parent 3d38d37635
commit f49df85c28
7 changed files with 10 additions and 4 deletions

View file

@ -0,0 +1,4 @@
import fs from 'fs-extra';
import { DEFAULT_WIKI_FOLDER } from '../src/constants/paths';
fs.mkdirpSync(DEFAULT_WIKI_FOLDER);