Skip to content

Commit

Permalink
NEW @W-17311922@ Add deprecation message for v4.x
Browse files Browse the repository at this point in the history
jag-j committed Dec 4, 2024
1 parent a819109 commit f1c1a24
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions messages/common.md
Original file line number Diff line number Diff line change
@@ -2,6 +2,6 @@

Emit additional command output to stdout.

# surveyRequestMessage
# deprecationMessage

We're continually improving Salesforce Code Analyzer. Tell us what you think! Give feedback at http://sfdc.co/CodeAnalyzerFeedback
We will end support for v4.x of Code Analyzer in the upcoming months. We recommend users migrate to v5.x, which is currently in Beta and will be in GA soon. More information: https://developer.salesforce.com/docs/platform/salesforce-code-analyzer/guide/version-5.html
2 changes: 1 addition & 1 deletion src/lib/ScannerCommand.ts
Original file line number Diff line number Diff line change
@@ -40,7 +40,7 @@ export abstract class ScannerCommand extends SfCommand<AnyJson> implements Displ
const logger: Logger = await Logger.child(this.ctor.name);
const display: Display = new UxDisplay(this, this.spinner, inputs.verbose as boolean);

display.displayWarning(getMessage(BundleName.Common, 'surveyRequestMessage'));
display.displayWarning(getMessage(BundleName.Common, 'deprecationMessage'));
this.buildEventListeners(display);

const action: Action = this.createAction(logger, display);

0 comments on commit f1c1a24

Please sign in to comment.