Skip to content

Commit 58232ef

Browse files
committed
fix: correct user agent formatting in headers
1 parent f999010 commit 58232ef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/bundler-plugin-core/src/utils/__tests__/Output.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ describe("Output", () => {
693693
headers: new Headers({
694694
Authorization: "token token",
695695
"Content-Type": "application/json",
696-
"User-Agent": "codecov-bundler_plugin/1.9.1",
696+
"User-Agent": "codecov-bundler-plugin/1.9.1",
697697
}),
698698
body: JSON.stringify({
699699
branch: "main",

packages/bundler-plugin-core/src/utils/getPreSignedURL.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export const getPreSignedURL = async ({
5454
}: GetPreSignedURLArgs) => {
5555
const headers = new Headers({
5656
"Content-Type": "application/json",
57-
"User-Agent": `codecov-bundler_plugin/${version}`,
57+
"User-Agent": `codecov-bundler-plugin/${version}`,
5858
});
5959

6060
const requestBody: RequestBody = serviceParams;

0 commit comments

Comments
 (0)