mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-08 21:38:37 +08:00
fix preparing test
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
const fs = require("fs");
|
||||
|
||||
fs.rmdirSync("./data/test-chrome-profile", {
|
||||
recursive: true,
|
||||
});
|
||||
const path = "./data/test-chrome-profile";
|
||||
|
||||
if (fs.existsSync(path)) {
|
||||
fs.rmdirSync(path, {
|
||||
recursive: true,
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user