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() { go func() {
s := bufio.NewScanner(pr) s := bufio.NewScanner(pr)
for s.Scan() { 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()))
} }
}() }()