Skip to content

Commit 23f1cee

Browse files
committed
fix: remove accidental segfault
1 parent 2b9da92 commit 23f1cee

File tree

1 file changed

+2
-1
lines changed
  • .github/scripts/validate-profile-readmes

1 file changed

+2
-1
lines changed

.github/scripts/validate-profile-readmes/main.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ func validateContributorYaml(yml contributorFrontmatterWithFilepath) []error {
213213
),
214214
)
215215
}
216+
216217
}()
217218

218219
// LinkedIn URL
@@ -303,7 +304,7 @@ func validateContributorYaml(yml contributorFrontmatterWithFilepath) []error {
303304
)
304305
}
305306

306-
if strings.Contains(*yml.AvatarUrl, "?") {
307+
if strings.Contains(*yml.SupportEmail, "?") {
307308
problems = append(
308309
problems,
309310
fmt.Errorf(

0 commit comments

Comments
 (0)