Skip to content

Commit

Permalink
Fix linting errors in cmd package (sequelize#704)
Browse files Browse the repository at this point in the history
  • Loading branch information
Katrina Owen authored and nywilken committed Aug 12, 2018
1 parent 1bb612f commit da2ba64
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/download.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,14 +168,14 @@ func runDownload(cfg config.Config, flags *pflag.FlagSet, args []string) error {
}

for _, file := range payload.Solution.Files {
unparsedUrl := fmt.Sprintf("%s%s", payload.Solution.FileDownloadBaseURL, file)
parsedUrl, err := netURL.ParseRequestURI(unparsedUrl)
unparsedURL := fmt.Sprintf("%s%s", payload.Solution.FileDownloadBaseURL, file)
parsedURL, err := netURL.ParseRequestURI(unparsedURL)

if err != nil {
return err
}

url := parsedUrl.String()
url := parsedURL.String()

req, err := client.NewRequest("GET", url, nil)
if err != nil {
Expand Down

0 comments on commit da2ba64

Please sign in to comment.