mirror of
https://github.com/astaxie/beego.git
synced 2025-06-11 09:50:39 +00:00
fix ineffectual
This commit is contained in:
@ -72,7 +72,7 @@ func GrepFile(patten string, filename string) (lines []string, err error) {
|
||||
lines = make([]string, 0)
|
||||
reader := bufio.NewReader(fd)
|
||||
prefix := ""
|
||||
isLongLine := false
|
||||
var isLongLine bool
|
||||
for {
|
||||
byteLine, isPrefix, er := reader.ReadLine()
|
||||
if er != nil && er != io.EOF {
|
||||
|
Reference in New Issue
Block a user