mirror of
https://github.com/zu1k/nali.git
synced 2025-01-22 13:19:02 +08:00
fix: Query error causes idx not updated
This commit is contained in:
parent
ec2ae52f36
commit
05746b1a9d
@ -60,9 +60,11 @@ func ParseLine(line string) Entities {
|
||||
e.InfoText = res.String()
|
||||
e.Info = res.Result
|
||||
e.Source = res.Source
|
||||
es = append(es, e)
|
||||
idx = e.Loc[1]
|
||||
} else {
|
||||
e.Type = TypePlain
|
||||
}
|
||||
idx = e.Loc[1]
|
||||
es = append(es, e)
|
||||
}
|
||||
}
|
||||
if total := len(line); idx < total {
|
||||
|
Loading…
Reference in New Issue
Block a user