Skip to content

Commit

Permalink
Tweak submission feedback message
Browse files Browse the repository at this point in the history
  • Loading branch information
Katrina Owen committed Jul 13, 2018
1 parent fe942cf commit 23909a1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cmd/submit.go
Original file line number Diff line number Diff line change
Expand Up @@ -287,14 +287,14 @@ func runSubmit(cfg config.Configuration, flags *pflag.FlagSet, args []string) er
msg := `
Your solution has been submitted successfully.
%s
%s
`
suffix := "View it at:"
suffix := "View it at:\n\n "
if solution.AutoApprove {
suffix = "You can complete the exercise and unlock the next core exercise at:"
suffix = "You can complete the exercise and unlock the next core exercise at:\n"
}
fmt.Fprintf(Err, msg, suffix)
fmt.Fprintf(Out, "%s\n", solution.URL)
fmt.Fprintf(Out, " %s\n\n", solution.URL)
return nil
}

Expand Down

0 comments on commit 23909a1

Please sign in to comment.