Skip to content

Commit 8f4669e

Browse files
feat: Remove token from Other CI onboarding step 3 (#3452)
1 parent 87c5601 commit 8f4669e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/pages/RepoPage/CoverageOnboarding/OtherCI/OtherCI.test.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ describe('OtherCI', () => {
146146
expect(codecovToken).toBeInTheDocument()
147147

148148
const tokenValue = await screen.findAllByText(/repo-token-jkl;-7890/)
149-
expect(tokenValue).toHaveLength(2)
149+
expect(tokenValue).toHaveLength(1)
150150
})
151151
})
152152
})

src/pages/RepoPage/CoverageOnboarding/OtherCI/OtherCI.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function OtherCI() {
3636
const tokenCopy = orgUploadToken ? 'global' : 'repository'
3737

3838
const apiUrlCopy = config.IS_SELF_HOSTED ? ` -u ${config.API_URL}` : ''
39-
const uploadCommand = `./codecov${apiUrlCopy} upload-process -t ${uploadToken}${
39+
const uploadCommand = `./codecov${apiUrlCopy} upload-process${
4040
orgUploadToken ? ` -r ${repo}` : ''
4141
}`
4242

0 commit comments

Comments
 (0)