Skip to content

Commit

Permalink
chore: daily development
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangtao25 committed Dec 17, 2024
1 parent 698151c commit f155141
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export class ConsumerCoverageService {
reportID: covType === "agg" ? queueDataToBeConsumed.reportID : null,
}),
});
const { map, instrumentCwd } = await this.prisma.coverage
const { map, instrumentCwd, rawMap } = await this.prisma.coverage
.findFirst({
where: {
// tripgl-1-autoxxx
Expand All @@ -124,6 +124,7 @@ export class ConsumerCoverageService {
return {
map: map,
instrumentCwd: res.instrumentCwd,
rawMap: res.map,
};
});
const codechanges = [];
Expand Down Expand Up @@ -216,7 +217,9 @@ export class ConsumerCoverageService {
// instrumentCwd: queueDataToBeConsumed.instrumentCwd,
reporter: String(queueDataToBeConsumed.reporter),
reportID: queueDataToBeConsumed.reportID,
map: Buffer.from([]),
// 如果是auto的map,需要复制过来
map: rawMap,
instrumentCwd: instrumentCwd,
// tag: queueDataToBeConsumed.tag,
// buildID: queueDataToBeConsumed.buildID,
// buildProvider: queueDataToBeConsumed.buildProvider,
Expand Down

0 comments on commit f155141

Please sign in to comment.