Skip to content

Commit

Permalink
[Fix] Installation fail when sdlList has empty elements (#3087)
Browse files Browse the repository at this point in the history
Filter sdlList in order to remove empty elements to avoid installation failures.
  • Loading branch information
Skythrew authored Sep 29, 2023
1 parent 195ddde commit 6b62336
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/downloadmanager/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ async function installQueueElement(params: InstallParams): Promise<{
const { status, error } = await gameManagerMap[runner].install(appName, {
path: path.replaceAll("'", ''),
installDlcs,
sdlList,
sdlList: sdlList.filter((el) => el !== ''),
platformToInstall,
installLanguage
})
Expand Down

0 comments on commit 6b62336

Please sign in to comment.