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

10 lines
143 B
JavaScript
Raw Normal View History

2021-10-05 04:39:44 -05:00
const fs = require("fs");
2021-10-05 07:37:32 -05:00
const path = "./data/test";
if (fs.existsSync(path)) {
fs.rmdirSync(path, {
recursive: true,
});
}