1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2025-07-15 01:24:25 +02:00

upgrading to recommend node v16, making min version to be v14

This commit is contained in:
Patrik J. Braun
2022-01-14 16:27:08 +01:00
parent e607ae810a
commit b72788456b
17 changed files with 27660 additions and 60 deletions

View File

@ -171,7 +171,7 @@ export class DBTestHelper {
Config.Server.Database.dbFolder = this.tempDir;
ProjectPath.reset();
await ObjectManagers.reset();
await fs.promises.rmdir(this.tempDir, {recursive: true});
await fs.promises.rm(this.tempDir, {recursive: true, force: true});
await ObjectManagers.InitSQLManagers();
}
@ -180,7 +180,7 @@ export class DBTestHelper {
Config.Server.Database.dbFolder = this.tempDir;
ProjectPath.reset();
await ObjectManagers.reset();
await fs.promises.rmdir(this.tempDir, {recursive: true});
await fs.promises.rm(this.tempDir, {recursive: true, force: true});
}
private async clearUpMemory(): Promise<void> {