fix warning

This commit is contained in:
MathieuG-P
2022-12-19 23:58:29 +01:00
parent 31183473ab
commit bd2038cc79
+1 -1
View File
@@ -47,7 +47,7 @@ export class UtilsService{
return unlink(pathToFile);
}
public rmDirIfExist(path: string): Promise<void>{
public async rmDirIfExist(path: string): Promise<void>{
if(!this.pathExist(path)){ return; }
return rm(path, {recursive: true, force: true});
}