Skip to content

Commit cfece08

Browse files
committed
fix(ci): improve misleading logs
1 parent 647f7e2 commit cfece08

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/ci/src/lib/models.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export type ProviderAPIClient = {
4444
};
4545

4646
/**
47-
* PR comment from {@link ProviderAPIClient}
47+
* PR/MR comment from {@link ProviderAPIClient}
4848
*/
4949
export type Comment = {
5050
id: number;

packages/ci/src/lib/run.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ async function runOnProject(args: {
140140
}
141141

142142
logger.info(
143-
`PR detected, preparing to compare base branch ${base.ref} to head ${head.ref}`,
143+
`PR/MR detected, preparing to compare base branch ${base.ref} to head ${head.ref}`,
144144
);
145145

146146
const prevReport = await collectPreviousReport({ ...args, base, ctx });
@@ -236,7 +236,7 @@ async function collectPreviousReport(args: {
236236
logger.debug(`Collected previous report at ${prevReportPath}`);
237237

238238
await git.checkout(['-f', '-']);
239-
logger.info('Switched back to PR branch');
239+
logger.info('Switched back to PR/MR branch');
240240

241241
return prevReport;
242242
}
@@ -267,7 +267,7 @@ async function findNewIssues(args: {
267267
logger.debug(
268268
`Found ${issues.length} relevant issues for ${
269269
Object.keys(changedFiles).length
270-
} changed files and created GitHub annotations`,
270+
} changed files`,
271271
);
272272

273273
return issues;

0 commit comments

Comments
 (0)