Skip to content

Commit

Permalink
Add gofmt failure to prove travis fails
Browse files Browse the repository at this point in the history
  • Loading branch information
jdsutherland committed Nov 8, 2018
1 parent 6b1b8ca commit e4657c9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/download.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import (
"github.com/spf13/cobra"
"github.com/spf13/pflag"
"github.com/spf13/viper"
"github.com/exercism/cli/debug"
)

// downloadCmd represents the download command
Expand Down Expand Up @@ -66,6 +67,7 @@ func runDownload(cfg config.Config, flags *pflag.FlagSet, args []string) error {
return err
}
if uuid != "" && slug != "" || uuid == slug {
debug.Printf("need to go in exercism website ,open the track and choose the exercise, \nthen copy the available link for download.\n ")
return errors.New("need an --exercise name or a solution --uuid")
}

Expand Down

0 comments on commit e4657c9

Please sign in to comment.