1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2024-12-23 01:27:14 +02:00

ignore update

This commit is contained in:
Patrik J. Braun 2022-03-27 19:29:42 +02:00
parent 37d296b45d
commit 0e4063fe39
3 changed files with 17 additions and 18 deletions

View File

@ -54,20 +54,20 @@
"typeorm": "0.3.4" "typeorm": "0.3.4"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "0.1102.17", "@angular-devkit/build-angular": "12.2.16",
"@angular-devkit/build-optimizer": "0.1102.17", "@angular-devkit/build-optimizer": "0.1102.17",
"@angular/animations": "11.2.14", "@angular/animations": "12.2.16",
"@angular/cli": "11.2.17", "@angular/cli": "12.2.16",
"@angular/common": "11.2.14", "@angular/common": "12.2.16",
"@angular/compiler": "11.2.14", "@angular/compiler": "12.2.16",
"@angular/compiler-cli": "11.2.14", "@angular/compiler-cli": "12.2.16",
"@angular/core": "11.2.14", "@angular/core": "12.2.16",
"@angular/forms": "11.2.14", "@angular/forms": "12.2.16",
"@angular/language-service": "11.2.14", "@angular/language-service": "12.2.16",
"@angular/localize": "11.2.14", "@angular/localize": "12.2.16",
"@angular/platform-browser": "11.2.14", "@angular/platform-browser": "12.2.16",
"@angular/platform-browser-dynamic": "11.2.14", "@angular/platform-browser-dynamic": "12.2.16",
"@angular/router": "11.2.14", "@angular/router": "12.2.16",
"@asymmetrik/ngx-leaflet": "8.1.0", "@asymmetrik/ngx-leaflet": "8.1.0",
"@asymmetrik/ngx-leaflet-markercluster": "5.0.1", "@asymmetrik/ngx-leaflet-markercluster": "5.0.1",
"@ngx-loading-bar/core": "5.1.2", "@ngx-loading-bar/core": "5.1.2",
@ -137,7 +137,6 @@
"ts-helpers": "1.1.2", "ts-helpers": "1.1.2",
"ts-node": "10.7.0", "ts-node": "10.7.0",
"tslint": "6.1.3", "tslint": "6.1.3",
"typescript": "4.6.3",
"xlf-google-translate": "1.0.0-beta.22", "xlf-google-translate": "1.0.0-beta.22",
"web-animations-js": "2.3.2", "web-animations-js": "2.3.2",
"webpack-bundle-analyzer": "4.5.0", "webpack-bundle-analyzer": "4.5.0",

View File

@ -57,7 +57,7 @@ export class TempFolderCleaningJob extends Job {
this.Progress.log('processing: ' + file); this.Progress.log('processing: ' + file);
this.Progress.Processed++; this.Progress.Processed++;
if ((await fs.promises.stat(file)).isDirectory()) { if ((await fs.promises.stat(file)).isDirectory()) {
await fs.promises.rmdir(file, {recursive: true}); await fs.promises.rm(file, {recursive: true});
} else { } else {
await fs.promises.unlink(file); await fs.promises.unlink(file);
} }
@ -83,7 +83,7 @@ export class TempFolderCleaningJob extends Job {
if (await this.isValidDirectory(filePath) === false) { if (await this.isValidDirectory(filePath) === false) {
this.Progress.log('processing: ' + filePath); this.Progress.log('processing: ' + filePath);
this.Progress.Processed++; this.Progress.Processed++;
await fs.promises.rmdir(filePath, {recursive: true}); await fs.promises.rm(filePath, {recursive: true});
} else { } else {
this.Progress.log('skipping: ' + filePath); this.Progress.log('skipping: ' + filePath);
this.Progress.Skipped++; this.Progress.Skipped++;

View File

@ -34,7 +34,7 @@ describe('Typeorm integration', () => {
const teardownUpSqlDB = async () => { const teardownUpSqlDB = async () => {
await SQLConnection.close(); await SQLConnection.close();
await fs.promises.rmdir(tempDir, {recursive: true}); await fs.promises.rm(tempDir, {recursive: true});
}; };
beforeEach(async () => { beforeEach(async () => {