glide
glide copied to clipboard
fixed the indirect dependencies issue
There's an issue that cannot get the specific version when use indirect dependencies. It can repeat this issue through the following steps.
- Import a package(considering as A package) but not declare in the current project glide.yaml
- The glide.yaml(note: this glide.yaml is in the package directory) of the importing package(A) has a specific version of another package(considering as B package)
- Execute the commands in the root project: a. glide cc b. glide up
- You will find that the version of package B in the glide.lock is not the specific version in glide.yaml
So I fixed this issue. Please help review. Thanks!