Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Gracefully handle when S3 URLs have an unexpected number of path segments. Currently we expect `s3.amazonaws.com/bucket/path`, but something like `s3.amazonaws.com/bucket` will cause a panic, e.g. ``` panic: runtime error: index out of range [2] with length 2 github.com/hashicorp/go-getter.(*S3Getter).parseUrl(,) /go/pkg/mod/github.com/hashicorp/go-getter@v1.7.5/get_s3.go:272 github.com/hashicorp/go-getter.(*S3Getter).Get(, {,},) /go/pkg/mod/git... ```
- Loading branch information