1
0
mirror of https://github.com/typemill/typemill.git synced 2025-08-05 13:47:37 +02:00

add comment

This commit is contained in:
Mysteriedev
2022-03-06 16:02:05 +01:00
parent 40b831a3f0
commit be57ce57d9

View File

@@ -23,6 +23,7 @@ module.exports = (on, config) => {
resetSetup() {
const users = "settings/users";
const settings = "settings/settings.yaml";
// of course files need to exist in order to perform a delete
if (fs.existsSync(settings) && fs.existsSync(users)) {
fs.rmSync(users, { recursive: true, force: true });
fs.rmSync(settings);