Skip to content

Commit

Permalink
fix win path
Browse files Browse the repository at this point in the history
  • Loading branch information
lu4p committed Nov 26, 2024
1 parent e56d64d commit 5d2d100
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -957,7 +957,9 @@ func parseFiles(lpkg *listedPackage, dir string, paths []string) (files []*ast.F
}

var src any
if strings.HasSuffix(path, "internal/abi/type.go") {

abiFileName := filepath.Join("internal", "abi", "type.go")
if strings.HasSuffix(path, abiFileName) {
src, err = abiNamePatch(path)
if err != nil {
return nil, err
Expand Down

0 comments on commit 5d2d100

Please sign in to comment.