Skip to content

Commit aa35b3f

Browse files
author
John Doe
committed
Merge branch 'main' into cp-targets
# Conflicts: # code-pushup.preset.ts # packages/ci/project.json # packages/core/project.json # packages/create-cli/project.json # packages/nx-plugin/project.json # packages/plugin-coverage/project.json # packages/plugin-eslint/project.json # packages/plugin-js-packages/project.json # packages/plugin-jsdocs/project.json # packages/plugin-lighthouse/project.json # packages/plugin-typescript/project.json # packages/utils/project.json
2 parents 33ca073 + 2ae961a commit aa35b3f

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

code-pushup.preset.ts

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -261,11 +261,13 @@ export const coverageCoreConfigNx = async (
261261
: ['nx', 'run-many', ...targetArgs],
262262
},
263263
reports: projectName
264-
? parsedTargetNames.map(target => ({
265-
pathToProject: `packages/${projectName}`,
266-
resultsPath: `coverage/${projectName}/${target}s/lcov.info`,
267-
}))
268-
: await getNxCoveragePaths({ targets: parsedTargetNames }),
264+
? [
265+
{
266+
pathToProject: `packages/${projectName}`,
267+
resultsPath: `packages/${projectName}/coverage/lcov.info`,
268+
},
269+
]
270+
: await getNxCoveragePaths(targetNames),
269271
}),
270272
],
271273
categories: coverageCategories,

0 commit comments

Comments
 (0)