diff --git a/main.go b/main.go index b1ccdec..9c89771 100644 --- a/main.go +++ b/main.go @@ -125,10 +125,9 @@ var commands = []Command{ var stringBuilder = strings.Builder{} for game, dataPath := range gameDataPaths { - stringBuilder.WriteString(game) - stringBuilder.WriteString(" \"") - stringBuilder.WriteString(dataPath) - stringBuilder.WriteByte('"') + if _, printError := fmt.Printf("%s %s\n", game, dataPath); printError != nil { + return "", printError + } } return stringBuilder.String(), nil