Update cmd/pm/tasks/codingTask.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Robin Olsen
2026-03-04 17:32:13 +01:00
committed by GitHub
parent c3bbcfd832
commit 817dbc57b7

View File

@@ -180,7 +180,7 @@ func (t *CodingTask) Validate(ctx context.Context) ValidationFeedback {
}
expect.Assert(strings.Contains(code, "go.mongodb.org/mongo-driver v1.17.9"),
"The go.mod file should still contain the old version of the MongoDB Driver (v1.17.8). Please make sure to update it to the latest version (v1.17.9).")
"The go.mod snippet in code.txt should contain the updated MongoDB Driver version (v1.17.9). Please make sure you have updated the dependency in the snippet accordingly.")
if !isInProgress {
return expect.ValidationFeedback