mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
fix path deletion on job fail
This commit is contained in:
parent
8c6ffadcc8
commit
f8f8fa831b
@ -20,7 +20,7 @@ export default {
|
||||
return result
|
||||
} catch (error) {
|
||||
await fs.promises
|
||||
.rm(tmpPath, { recursive: true, force: true })
|
||||
.rm(job.workPath, { recursive: true, force: true })
|
||||
.catch(() => null)
|
||||
|
||||
throw error
|
||||
|
Loading…
x
Reference in New Issue
Block a user