From 0e4063fe39dd2cfb91ff3ed6c72070385ba4a5a4 Mon Sep 17 00:00:00 2001 From: "Patrik J. Braun" Date: Sun, 27 Mar 2022 19:29:42 +0200 Subject: [PATCH] ignore update --- package.json | 29 +++++++++---------- .../model/jobs/jobs/TempFolderCleaningJob.ts | 4 +-- test/backend/integration/model/sql/typeorm.ts | 2 +- 3 files changed, 17 insertions(+), 18 deletions(-) diff --git a/package.json b/package.json index 6991dda1..7dc45bee 100644 --- a/package.json +++ b/package.json @@ -54,20 +54,20 @@ "typeorm": "0.3.4" }, "devDependencies": { - "@angular-devkit/build-angular": "0.1102.17", + "@angular-devkit/build-angular": "12.2.16", "@angular-devkit/build-optimizer": "0.1102.17", - "@angular/animations": "11.2.14", - "@angular/cli": "11.2.17", - "@angular/common": "11.2.14", - "@angular/compiler": "11.2.14", - "@angular/compiler-cli": "11.2.14", - "@angular/core": "11.2.14", - "@angular/forms": "11.2.14", - "@angular/language-service": "11.2.14", - "@angular/localize": "11.2.14", - "@angular/platform-browser": "11.2.14", - "@angular/platform-browser-dynamic": "11.2.14", - "@angular/router": "11.2.14", + "@angular/animations": "12.2.16", + "@angular/cli": "12.2.16", + "@angular/common": "12.2.16", + "@angular/compiler": "12.2.16", + "@angular/compiler-cli": "12.2.16", + "@angular/core": "12.2.16", + "@angular/forms": "12.2.16", + "@angular/language-service": "12.2.16", + "@angular/localize": "12.2.16", + "@angular/platform-browser": "12.2.16", + "@angular/platform-browser-dynamic": "12.2.16", + "@angular/router": "12.2.16", "@asymmetrik/ngx-leaflet": "8.1.0", "@asymmetrik/ngx-leaflet-markercluster": "5.0.1", "@ngx-loading-bar/core": "5.1.2", @@ -137,7 +137,6 @@ "ts-helpers": "1.1.2", "ts-node": "10.7.0", "tslint": "6.1.3", - "typescript": "4.6.3", "xlf-google-translate": "1.0.0-beta.22", "web-animations-js": "2.3.2", "webpack-bundle-analyzer": "4.5.0", @@ -155,4 +154,4 @@ "engines": { "node": ">=14.14 <15.0" } -} +} \ No newline at end of file diff --git a/src/backend/model/jobs/jobs/TempFolderCleaningJob.ts b/src/backend/model/jobs/jobs/TempFolderCleaningJob.ts index e5c08e4a..7ef77189 100644 --- a/src/backend/model/jobs/jobs/TempFolderCleaningJob.ts +++ b/src/backend/model/jobs/jobs/TempFolderCleaningJob.ts @@ -57,7 +57,7 @@ export class TempFolderCleaningJob extends Job { this.Progress.log('processing: ' + file); this.Progress.Processed++; if ((await fs.promises.stat(file)).isDirectory()) { - await fs.promises.rmdir(file, {recursive: true}); + await fs.promises.rm(file, {recursive: true}); } else { await fs.promises.unlink(file); } @@ -83,7 +83,7 @@ export class TempFolderCleaningJob extends Job { if (await this.isValidDirectory(filePath) === false) { this.Progress.log('processing: ' + filePath); this.Progress.Processed++; - await fs.promises.rmdir(filePath, {recursive: true}); + await fs.promises.rm(filePath, {recursive: true}); } else { this.Progress.log('skipping: ' + filePath); this.Progress.Skipped++; diff --git a/test/backend/integration/model/sql/typeorm.ts b/test/backend/integration/model/sql/typeorm.ts index f2620953..6417cc63 100644 --- a/test/backend/integration/model/sql/typeorm.ts +++ b/test/backend/integration/model/sql/typeorm.ts @@ -34,7 +34,7 @@ describe('Typeorm integration', () => { const teardownUpSqlDB = async () => { await SQLConnection.close(); - await fs.promises.rmdir(tempDir, {recursive: true}); + await fs.promises.rm(tempDir, {recursive: true}); }; beforeEach(async () => {