run prettier formatting
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
@@ -117,8 +117,8 @@ export class Cobertura implements Converter {
|
||||
const lines = [classLines, methodLines].flat().filter(Boolean);
|
||||
const lineHits = lines.map(l => {
|
||||
return {
|
||||
number: parseInt((l.$.number as unknown) as string, 10),
|
||||
hits: parseInt((l.$.hits as unknown) as string, 10),
|
||||
number: parseInt(l.$.number as unknown as string, 10),
|
||||
hits: parseInt(l.$.hits as unknown as string, 10),
|
||||
'condition-coverage': l.$['condition-coverage'],
|
||||
branch: l.$.branch,
|
||||
};
|
||||
|
||||
@@ -189,12 +189,8 @@ export const makeRouter = async (
|
||||
throw new InputError(`Unsupported coverage type '${coverageType}`);
|
||||
}
|
||||
|
||||
const {
|
||||
sourceLocation,
|
||||
vcs,
|
||||
scmFiles,
|
||||
body,
|
||||
} = await utils.processCoveragePayload(entityLookup, req);
|
||||
const { sourceLocation, vcs, scmFiles, body } =
|
||||
await utils.processCoveragePayload(entityLookup, req);
|
||||
|
||||
const files = converter.convert(body, scmFiles);
|
||||
if (!files || files.length === 0) {
|
||||
|
||||
Reference in New Issue
Block a user