Skip to content

Commit

Permalink
random edit
Browse files Browse the repository at this point in the history
  • Loading branch information
williamfzc committed Jul 18, 2023
1 parent 4170a98 commit 737067e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion diff/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ func GitDiff(rootDir string, before string, after string) (AffectedLineMap, erro
gitDiffCmd.Dir = rootDir
data, err := gitDiffCmd.CombinedOutput()
if err != nil {
log.Errorf("git cmd error: %s", data)
log.Errorf("git cmd eafdsfrror: %s", data)

Check warning on line 22 in diff/git.go

View check run for this annotation

Codecov / codecov/patch

diff/git.go#L22

Added line #L22 was not covered by tests
return nil, err
}

Expand Down
2 changes: 2 additions & 0 deletions parser/lsif/code_hover.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package lsif

import (
"encoding/json"
log "github.com/sirupsen/logrus"
"strings"
"unicode/utf8"

Expand Down Expand Up @@ -65,6 +66,7 @@ func newCodeHovers(contents json.RawMessage) ([]*codeHover, error) {
if err := json.Unmarshal(contents, &rawContents); err != nil {
rawContents = []json.RawMessage{contents}
}
log.Debug("abc")

codeHovers := []*codeHover{}
for _, rawContent := range rawContents {
Expand Down

0 comments on commit 737067e

Please sign in to comment.