Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
buoy: cut extra URL path for module (#13)
Some module use sub-directory for the module like https://github.com/blang/semver/tree/master/v4 In that case, buoy fails to fetch metadata with the full path: ``` $ curl https://github.com/blang/semver/v4?go-get=1 ``` so needs to use the top directory and path. ``` $ curl https://github.com/blang/semver?go-get=1 ``` Hence, this patch cuts extra URL path for module.
- Loading branch information