Sonar fix2

This commit is contained in:
Wkeynhk
2025-12-27 03:23:36 +03:00
parent aff9e13bca
commit 991aa05760

View File

@@ -217,7 +217,7 @@ export class DownloadManager {
gameFilesManager.extractDownloadedFile();
} else {
gameFilesManager
.extractFilesInDirectory(path.join(download.downloadPath, download.folderName!))
.extractFilesInDirectory(path.join(download.downloadPath, download.folderName))
.then(() => gameFilesManager.setExtractionComplete());
}
}
@@ -449,4 +449,4 @@ export class DownloadManager {
await PythonRPC.rpc.post("/action", payload);
this.downloadingGameId = levelKeys.game(download.shop, download.objectId);
}
}
}