Fix linter error

This commit is contained in:
Fedor Korotkiy 2023-03-12 17:27:37 +04:00
parent b39f28cd3d
commit bba9c36214

View file

@ -42,7 +42,7 @@ func doTestSubmission(t *testing.T, studentRepo, privateRepo, problem string) er
go func() {
s := bufio.NewScanner(pr)
for s.Scan() {
io.WriteString(oldF, fmt.Sprintf("%s%s\n", prefix, s.Text()))
_, _ = io.WriteString(oldF, fmt.Sprintf("%s%s\n", prefix, s.Text()))
}
}()