Skip to content

Commit

Permalink
Avoid 'core' terminology in team context
Browse files Browse the repository at this point in the history
The teams site does not have core exercises.
This will only show the 'core' messaging for auto-approvable exercises
on the main site.
  • Loading branch information
Katrina Owen committed Nov 18, 2018
1 parent 6a606da commit 1843bc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/submit.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ func runSubmit(cfg config.Config, flags *pflag.FlagSet, args []string) error {
%s
`
suffix := "View it at:\n\n "
if metadata.AutoApprove {
if metadata.AutoApprove && metadata.Team == "" {
suffix = "You can complete the exercise and unlock the next core exercise at:\n"
}
fmt.Fprintf(Err, msg, suffix)
Expand Down

0 comments on commit 1843bc0

Please sign in to comment.