mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
fix dist exist check
This commit is contained in:
parent
075743e8be
commit
24a4a9c27a
@ -56,7 +56,7 @@ class WebWrapper extends Server {
|
||||
}
|
||||
|
||||
async updateDistApp() {
|
||||
if (!fs.existsSync(WebWrapper.appDistPath)) {
|
||||
if (fs.existsSync(WebWrapper.appDistPath)) {
|
||||
await fs.promises.rm(WebWrapper.appDistPath, { recursive: true })
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user