Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mircearoata committed Oct 4, 2024
1 parent 3d32034 commit 47e39fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/installfinders/launchers/epic/epic_wine_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func FindInstallationsWine(winePrefix string, launcher string, launchPath []stri
platform := common.WineLauncherPlatform(winePrefix)

if _, err := os.Stat(platform.ProcessPath(epicWineManifestPath)); os.IsNotExist(err) {
return nil, []error{fmt.Errorf("Epic is not installed in " + winePrefix)}
return nil, []error{fmt.Errorf("Epic is not installed in %s", winePrefix)}
}

return FindInstallationsEpic(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func FindInstallationsWine(winePrefix string, launcher string, launchPath []stri
platform := common.WineLauncherPlatform(winePrefix)

if _, err := os.Stat(platform.ProcessPath(steamWinePath)); os.IsNotExist(err) {
return nil, []error{fmt.Errorf("Steam is not installed in " + winePrefix)}
return nil, []error{fmt.Errorf("Steam is not installed in %s", winePrefix)}
}

return FindInstallationsSteam(
Expand Down

0 comments on commit 47e39fa

Please sign in to comment.