Skip to content

Commit

Permalink
Merge pull request #1688 from forcedotcom/jj/W-17311922
Browse files Browse the repository at this point in the history
NEW (CodeAnalyzer) @W-17311922@ Add deprecation message for v4.x
  • Loading branch information
jag-j authored Dec 4, 2024
2 parents a819109 + 01a0ed2 commit d4d9840
Show file tree
Hide file tree
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
Expand Up @@ -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 plan to stop supporting v4.x of Code Analyzer in the coming months. We highly recommend that you start using v5.x, which is currently in Beta. For information on v5.x, see 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
Expand Up @@ -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);
Expand Down

0 comments on commit d4d9840

Please sign in to comment.