mirror of
https://github.com/codecov/codecov-action.git
synced 2026-04-12 17:10:05 +00:00
fix: pass in empty string
This commit is contained in:
parent
70a4cf0e19
commit
09e1fe93a7
3 changed files with 3 additions and 3 deletions
|
|
@ -48,7 +48,7 @@ const isPullRequestFromFork = (): boolean => {
|
|||
const getToken = async (): Promise<string> => {
|
||||
if (isPullRequestFromFork()) {
|
||||
core.info('==> Fork detected, tokenless uploading used');
|
||||
return Promise.resolve('');
|
||||
return '';
|
||||
}
|
||||
let token = core.getInput('token');
|
||||
let url = core.getInput('url');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue