Skip to content

Commit

Permalink
Fix issue with readonly go modules
Browse files Browse the repository at this point in the history
  • Loading branch information
Felixoid committed Jul 22, 2020
1 parent 5011f68 commit 2e71108
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -844,6 +844,7 @@ def EnableGoCompleter( args ):
new_env[ 'GO111MODULE' ] = 'on'
new_env[ 'GOPATH' ] = p.join( DIR_OF_THIS_SCRIPT, 'third_party', 'go' )
new_env[ 'GOBIN' ] = p.join( new_env[ 'GOPATH' ], 'bin' )
new_env[ 'GOFLAGS' ] = new_env.get( 'GOFLAGS', '' ) + ' -modcacherw'
CheckCall( [ go, 'get', 'golang.org/x/tools/[email protected]' ],
env = new_env,
quiet = args.quiet,
Expand Down

0 comments on commit 2e71108

Please sign in to comment.