fix: fixing sonar issues

This commit is contained in:
Chubby Granny Chaser 2025-01-22 00:19:24 +00:00
parent 71cb4cd240
commit 2aff983dec
No known key found for this signature in database
4 changed files with 7 additions and 8 deletions

View file

@ -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()),