sourcegraph/internal/download
William Bezuidenhout 3b85035f56
chore: download - ensure dir exists when writing to dst (#64460)
Closes DINF-182

Before `sg start otel` would fail if `.bin` did not exist. We now create
the destination directory if it doesn't exist

## Test plan
1. `rm -rf .bin`
2. `sg start otel`

and unit tests + CI
## Changelog
* when downloading files, ensure the directory we download to exists
2024-08-14 09:14:40 +00:00
..
BUILD.bazel chore: download - ensure dir exists when writing to dst (#64460) 2024-08-14 09:14:40 +00:00
download_test.go chore: download - ensure dir exists when writing to dst (#64460) 2024-08-14 09:14:40 +00:00
download.go chore: download - ensure dir exists when writing to dst (#64460) 2024-08-14 09:14:40 +00:00