Skip to content

Commit 1843bc0

Browse files
author
Katrina Owen
committed
Avoid 'core' terminology in team context
The teams site does not have core exercises. This will only show the 'core' messaging for auto-approvable exercises on the main site.
1 parent 6a606da commit 1843bc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/submit.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ func runSubmit(cfg config.Config, flags *pflag.FlagSet, args []string) error {
252252
%s
253253
`
254254
suffix := "View it at:\n\n "
255-
if metadata.AutoApprove {
255+
if metadata.AutoApprove && metadata.Team == "" {
256256
suffix = "You can complete the exercise and unlock the next core exercise at:\n"
257257
}
258258
fmt.Fprintf(Err, msg, suffix)

0 commit comments

Comments
 (0)