Skip to content

Commit

Permalink
fix build script
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Sverdlov <[email protected]>
  • Loading branch information
sverdlov93 committed Sep 26, 2023
1 parent 8685f45 commit c94d472
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/fileutils.go
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ func ReadNLines(path string, total int) (lines []string, err error) {
bufferedReader := bufio.NewReader(reader)
for i := 0; i < total; i++ {
var line []byte
line, _, err = r.ReadLine()
line, _, err = bufferedReader.ReadLine()
lines = append(lines, string(line))
if err == io.EOF {
err = nil
Expand Down

0 comments on commit c94d472

Please sign in to comment.