Skip to content

Commit e9ce3f6

Browse files
authored
snapshot: fix incorrect ref to validation error (#933)
1 parent 715ed43 commit e9ce3f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/src/snapshot_testcmd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ TEST DATA
8686
}
8787
if validationErrors != nil {
8888
out.WriteLine(output.Linef(output.EmojiFailure, output.StyleFailure,
89-
"Critical issues found: %s", err.Error()))
89+
"Critical issues found: %s", validationErrors.Error()))
9090
return errors.New("validation failed")
9191
}
9292
out.WriteLine(output.Line(output.EmojiSuccess, output.StyleSuccess,

0 commit comments

Comments
 (0)