This commit is contained in:
Felipe M 2021-05-16 15:46:25 +02:00
parent d27e4947ae
commit 62241ff857
Signed by: fmartingr
GPG Key ID: 716BC147715E716F
1 changed files with 2 additions and 1 deletions

View File

@ -63,6 +63,7 @@ func getGamesFromProvider(provider string, cliOptions providers.ProviderOptions)
return games
}
// TODO: Reduce into smaller functions
func processGames(games []providers.Game, cliOptions providers.ProviderOptions) {
for _, game := range games {
destinationPath := filepath.Join(helpers.ExpandUser(*cliOptions.OutputPath), game.Platform)
@ -96,7 +97,7 @@ func processGames(games []providers.Game, cliOptions providers.ProviderOptions)
}
}
log.Printf("=> Proceesing screenshots for %s %s", game.Name, game.Notes)
log.Printf("=> Processing screenshots for %s %s", game.Name, game.Notes)
for _, screenshot := range game.Screenshots {
destinationPath := filepath.Join(destinationPath, screenshot.GetDestinationName())