From 5509492a99fc78b3b67519c1c6a29b88a4261f3f Mon Sep 17 00:00:00 2001 From: Thomas Hobson Date: Wed, 28 Apr 2021 16:11:49 +1200 Subject: [PATCH] uncomment the fix --- api/src/job.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/src/job.js b/api/src/job.js index d35893a..b711ac1 100644 --- a/api/src/job.js +++ b/api/src/job.js @@ -213,7 +213,7 @@ class Job { } async cleanup_filesystem(){ - /* + for (const clean_path of globals.clean_directories) { const contents = await fs.readdir(clean_path); @@ -224,7 +224,7 @@ class Job { await fs.rm(file_path, { recursive: true, force: true }); } - }*/ + } await fs.rm(this.dir, { recursive: true, force: true }); }