Skip to content

Commit

Permalink
Suppress the linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
mrexodia authored and salemhilal committed Jun 17, 2023
1 parent b240489 commit d61c548
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ func indexAllFiles(opt *IndexOptions, dst, src string) error {
}
}

if err := filepath.Walk(src, func(path string, info os.FileInfo, err error) error {
if err := filepath.Walk(src, func(path string, info os.FileInfo, err error) error { //nolint
name := info.Name()
rel, err := filepath.Rel(src, path) //nolint
if err != nil {
Expand Down

0 comments on commit d61c548

Please sign in to comment.