Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -137,6 +137,9 @@ func (t *CodingTask) Validate(ctx context.Context) ValidationFeedback {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return expect.Fatal("Could not fetch issues")
|
return expect.Fatal("Could not fetch issues")
|
||||||
}
|
}
|
||||||
|
if issue == nil {
|
||||||
|
return expect.Fatal("Issue was deleted or could not be found")
|
||||||
|
}
|
||||||
|
|
||||||
expect.Equal(issue.Assignee, "Me", "Issue Assignee")
|
expect.Equal(issue.Assignee, "Me", "Issue Assignee")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user