Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mfederowicz committed Jan 29, 2025
1 parent 525cb28 commit 0c9e54d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ require (
)

require (
github.com/bmatcuk/doublestar/v4 v4.6.1 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mattn/go-runewidth v0.0.16 // indirect
Expand Down
2 changes: 1 addition & 1 deletion revivelib/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ func prepareSkips(globs, excludes []string) ([]string, []string, error) {
return nil, nil, fmt.Errorf("Skips Error: %v", err)
}
for _, match := range matches {
path = basepath+"/"+match
path = basepath + "/" + match
// create skip only for .go files
if filepath.Ext(path) == ".go" {
skips = append(skips, path)
Expand Down

0 comments on commit 0c9e54d

Please sign in to comment.