fix(lint): staticcheck S1030, QF1002 and remove unused _ctx stub
This commit is contained in:
@@ -143,7 +143,7 @@ func splitUnifiedDiff(d []byte) map[string][]byte {
|
||||
|
||||
flush := func() {
|
||||
if currentFile != "" {
|
||||
m[currentFile] = []byte(current.String())
|
||||
m[currentFile] = current.Bytes()
|
||||
current.Reset()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user