Skip to content

Commit

Permalink
fix: version api url (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
joseph-sentry authored Dec 10, 2024
1 parent 63958e8 commit 4e79e65
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32419,7 +32419,7 @@ const versionInfo = (platform, version) => version_awaiter(void 0, void 0, void
core.info(`==> Running version ${version}`);
}
try {
const metadataRes = yield (0,undici.request)(`https://cli.codecov.io/${platform}/latest`, {
const metadataRes = yield (0,undici.request)(`https://cli.codecov.io/api/${platform}/latest`, {
headers: { 'Accept': 'application/json' },
});
const metadata = yield metadataRes.body.json();
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const versionInfo = async (
}

try {
const metadataRes = await request(`https://cli.codecov.io/${platform}/latest`, {
const metadataRes = await request(`https://cli.codecov.io/api/${platform}/latest`, {
headers: {'Accept': 'application/json'},
});
const metadata = await metadataRes.body.json();
Expand Down

0 comments on commit 4e79e65

Please sign in to comment.