Skip to content

Commit

Permalink
Fix golang cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
peachpit-site committed Nov 9, 2024
1 parent e0d3b18 commit 64b577e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/service/golang.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ func (gh *GoHandler) BuildGoMods() {
gh.Prsr.Throw("golang/open", &token.Token{}, err.Error())
}
if err == nil || strings.Contains(err.Error(), "plugin was built with a different version of package") {
os.Remove("gocode " + strconv.Itoa(counter) + ".go")
os.Remove("gocode_" + strconv.Itoa(counter) + ".go")
}
}
}
Expand Down

0 comments on commit 64b577e

Please sign in to comment.