Skip to content

Commit

Permalink
fix(aliasing): update coverage scollection script for globe upgarde
Browse files Browse the repository at this point in the history
Signed-off-by: sanketshevkar <[email protected]>
  • Loading branch information
sanketshevkar committed Jan 16, 2025
1 parent 38a1632 commit a3653c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/coverage.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function copyFiles(files, destDir) {
const lcovs = glob.sync(globPattern).map((dir) => {
const packageName = dir.split('/').pop();
return {
source: path.join(dir, 'coverage/coverage-final.json'),
source: path.join(dir, 'coverage/coverage-final.json').split(path.sep).join('/'),
destination: `${packageName}.json`
};
});
Expand All @@ -45,4 +45,4 @@ copyFiles(lcovs, 'coverage').then(() => {
console.log("done");
}).catch(err => {
console.log(err);
});
});

0 comments on commit a3653c0

Please sign in to comment.