uptime-kuma/test/prepare-test-server.js

11 lines
161 B
JavaScript
Raw Normal View History

2021-10-05 10:39:44 +01:00
const fs = require("fs");
2021-10-05 13:37:32 +01:00
const path = "./data/test";
if (fs.existsSync(path)) {
fs.rmSync(path, {
2021-10-05 13:37:32 +01:00
recursive: true,
force: true,
2021-10-05 13:37:32 +01:00
});
}