@@ -22,8 +22,6 @@ const download = async (url, dst) => {
2222} ;
2323
2424const TOP = process . cwd ( ) ;
25- // const TEMP = os.tmpdir();
26-
2725const pkgInfo = readPkg ( TOP ) ;
2826const pkgFiles = pkgInfo . workspaces . map ( ( exp ) => globSync ( path . join ( exp , 'package.json' ) ) ) ;
2927const codecovPath = path . resolve ( TOP , 'codecov' ) ;
@@ -33,7 +31,7 @@ const pkgsWithFlag = pkgFiles.flat().map((f) => {
3331 const name = info . name ;
3432 const flag = name . replace ( '@opentelemetry/' , '' ) ;
3533 const report = path + 'coverage/coverage-final.json' ;
36- const command = `${ codecovPath } do-upload -t <token> -f ${ report } --disable-search -F ${ flag } -d` ;
34+ const command = `./codecov do-upload -t <token> -f ${ report } --disable-search -F ${ flag } -d` ;
3735 return { name, flag, len : flag . length , path, report, command } ;
3836} ) ;
3937
@@ -72,7 +70,6 @@ for (const pkg of pkgsWithFlag) {
7270 if ( existsSync ( pkg . report ) ) {
7371 const command = pkg . command . replace ( '<token>' , token )
7472 console . log ( `Uploading report of ${ pkg . name } with flag ${ pkg . flag } ` ) ;
75- console . log ( `Command: ${ command } ` ) ;
7673 execSync ( command , { cwd : TOP , encoding : 'utf-8' } ) ;
7774 } else {
7875 console . log ( `Report of ${ pkg . name } not found. Expected existence of ${ pkg . report } ` ) ;
0 commit comments