From 62241ff857b7f35d17ec70ea93c66ca765108af4 Mon Sep 17 00:00:00 2001 From: Felipe M Date: Sun, 16 May 2021 15:46:25 +0200 Subject: [PATCH] Comments --- internal/cli/cli.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/cli/cli.go b/internal/cli/cli.go index f3586b0..9f5ddb3 100644 --- a/internal/cli/cli.go +++ b/internal/cli/cli.go @@ -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())