mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-25 21:54:16 -08:00
Merge branch 'louislam:master' into master
This commit is contained in:
commit
f8def5aa6f
|
@ -41,7 +41,7 @@ function updateWiki(newVersion) {
|
|||
|
||||
function safeDelete(dir) {
|
||||
if (fs.existsSync(dir)) {
|
||||
fs.rmdirSync(dir, {
|
||||
fs.rm(dir, {
|
||||
recursive: true,
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue