Skip to content

Commit

Permalink
fix go.mod opening -- must do EndProc to release the lock -- not sure…
Browse files Browse the repository at this point in the history
… how that ever worked!?
  • Loading branch information
rcoreilly committed Jul 22, 2024
1 parent f79f3c3 commit da3ded0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions parse/languages/golang/golang.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ func (gl *GoLang) ParseFile(fss *parse.FileStates, txt []byte) {
pfs := fss.StartProc(txt) // current processing one
ext := filepath.Ext(pfs.Src.Filename)
if ext == ".mod" { // note: mod doesn't parse!
fss.EndProc()
return
}
// fmt.Println("\nstarting Parse:", pfs.Src.Filename)
Expand Down

0 comments on commit da3ded0

Please sign in to comment.