Skip to content

Commit

Permalink
fix failure to undo the setting of GO111MODULE when building the clie…
Browse files Browse the repository at this point in the history
…nt binary

re: DisposaBoy/GoSublime#916
  • Loading branch information
DisposaBoy committed Mar 9, 2020
1 parent f5a074a commit 048a95a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sublime/sublime.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ func buildAction(c *cli.Context) error {
pkg, err := extensionPkg()
if modSet {
os.Setenv("GO111MODULE", modWas)
} else {
os.Unsetenv("GO111MODULE")
}
if err == nil {
fixExtPkg(pkg)
Expand Down

0 comments on commit 048a95a

Please sign in to comment.