mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-24 19:31:03 +00:00
fix: fixing sonar issues
This commit is contained in:
@@ -30,7 +30,7 @@ const openGameInstaller = async (
|
||||
const downloadKey = levelKeys.game(shop, objectId);
|
||||
const download = await downloadsSublevel.get(downloadKey);
|
||||
|
||||
if (!download || !download.folderName) return true;
|
||||
if (!download?.folderName) return true;
|
||||
|
||||
const gamePath = path.join(
|
||||
download.downloadPath ?? (await getDownloadsPath()),
|
||||
|
||||
Reference in New Issue
Block a user