File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ const pkgsWithFlag = pkgFiles.flat().map((f) => {
5252} ) ;
5353
5454// Download codecov-cli if necessary
55+ const codecovPath = './codecov' ;
5556const baseUrl = 'https://cli.codecov.io/latest/' ;
5657const urlMap = {
5758 linux : `${ baseUrl } linux/codecov` ,
@@ -71,7 +72,7 @@ if (existsSync(codecovPath)) {
7172} else {
7273 console . log ( `Codecov binary missing. Downloading from ${ url } ` ) ;
7374 execSync ( `curl -O "${ url } "` , execOpts ) ;
74- console . log ( `Verifying codecov binary downloaded to "./codecov "` ) ;
75+ console . log ( `Verifying codecov binary downloaded to "${ codecovPath } "` ) ;
7576 execSync ( `echo "$(curl -s https://keybase.io/codecovsecurity/pgp_keys.asc)" | gpg --no-default-keyring --import` , execOpts ) ;
7677 execSync ( `curl -O "${ url } .SHA256SUM"` , execOpts ) ;
7778 execSync ( `curl -O "${ url } .SHA256SUM.sig"` , execOpts ) ;
You can’t perform that action at this time.
0 commit comments