diff options
| author | Shulhan <ms@kilabit.info> | 2018-09-14 22:06:11 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2018-09-14 22:06:11 +0700 |
| commit | f7b8d4e829f1c47ab9156637c535e83af9c5ffee (patch) | |
| tree | a58984520e0a45c5c44b564acd66516a0f804cfc /env.go | |
| parent | f17dc76fabfde51781f331606a05ea5e09aae717 (diff) | |
| download | beku-f7b8d4e829f1c47ab9156637c535e83af9c5ffee.tar.xz | |
package: simplify Go install method
Change the parameter from instance of env to string. The goal is to
decouple instance of environment from package.
Diffstat (limited to 'env.go')
| -rw-r--r-- | env.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1349,7 +1349,7 @@ func (env *Env) postSync(pkg *Package) (err error) { // (3) if len(pkg.DepsMissing) == 0 { - _ = pkg.GoInstall(env) + _ = pkg.GoInstall(env.path) } fmt.Println("[ENV] postSync >>> Package installed:\n", pkg) @@ -1384,7 +1384,7 @@ func (env *Env) reinstallAll() (err error) { } if len(pkg.DepsMissing) == 0 { - _ = pkg.GoInstall(env) + _ = pkg.GoInstall(env.path) } } return |
