Skip to content

Commit

Permalink
random edit
Browse files Browse the repository at this point in the history
  • Loading branch information
williamfzc committed Jul 17, 2023
1 parent d7164e2 commit cadfed8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/srctx/diff/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func AddDiffCmd(app *cli.App) {
&cli.StringFlag{
Name: "outputDot",
Value: "",
Usage: "reference dot file output",
Usage: "referencefff dot file output",
Destination: &outputDot,
},
}
Expand Down
2 changes: 1 addition & 1 deletion diff/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,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)
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 cadfed8

Please sign in to comment.