Skip to content

Commit 72d721c

Browse files
committed
Improve wording
1 parent 34b0fbe commit 72d721c

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎apps/api-extractor/src/api/ConsoleMessageId.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const enum ConsoleMessageId {
2929

3030
/**
3131
* "You have changed the public API signature for this project. Please copy the file ___ to ___,
32-
* or perform a local build which does this automatically. See the Git repo documentation for more info."
32+
* or else perform a local build (which does this automatically). See the Git repo documentation for more info.
3333
*/
3434
ApiReportNotCopied = 'console-api-report-not-copied',
3535

‎apps/api-extractor/src/api/Extractor.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ export class Extractor {
236236
messageRouter.logWarning(ConsoleMessageId.ApiReportNotCopied,
237237
'You have changed the public API signature for this project.'
238238
+ ` Please copy the file "${actualApiReportShortPath}" to "${expectedApiReportShortPath}",`
239-
+ ` or perform a local build which does this automatically.`
239+
+ ` or else perform a local build (which does this automatically).`
240240
+ ` See the Git repo documentation for more info.`);
241241
} else {
242242
// For a local build, just copy the file automatically.
@@ -251,7 +251,7 @@ export class Extractor {
251251
}
252252
} else {
253253
messageRouter.logVerbose(ConsoleMessageId.ApiReportUnchanged,
254-
`The API signature is up to date: ${actualApiReportShortPath}`);
254+
`The API report is up to date: ${actualApiReportShortPath}`);
255255
}
256256
} else {
257257
// The target file does not exist, so we are setting up the API review file for the first time.
@@ -266,7 +266,7 @@ export class Extractor {
266266
messageRouter.logWarning(ConsoleMessageId.ApiReportNotCopied,
267267
'You have changed the public API signature for this project.'
268268
+ ` Please copy the file "${actualApiReportShortPath}" to "${expectedApiReportShortPath}",`
269-
+ ` or perform a local build which does this automatically.`
269+
+ ` or else perform a local build (which does this automatically).`
270270
+ ` See the Git repo documentation for more info.`);
271271
} else {
272272
messageRouter.logWarning(ConsoleMessageId.ApiReportCreated,

0 commit comments

Comments
 (0)