Commit b7936da
fix: throw on missing download URL; suppress ExperimentalWarning
- releaseAsset: if browser_download_url is absent after a successful
upload (e.g. when the target repo has been renamed and the git remote
still points to the old name), throw UploadError(MISSING_DOWNLOAD_URL)
with a hint to use the full owner/repo#N target format instead of
silently returning 'undefined' in the markdown output.
- cli/index: suppress Node's ExperimentalWarning for the Fetch API
(emitted on Node < 21) so it doesn't pollute stdout/stderr.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 679fa09 commit b7936da
2 files changed
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
8 | 15 | | |
9 | 16 | | |
10 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
307 | 316 | | |
308 | 317 | | |
309 | 318 | | |
| |||
0 commit comments