Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RELEASE: @W-14914244@: Merging dev to release for v3.21.0 #1347

Merged
merged 14 commits into from
Feb 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions messages/SfgeEngine.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,3 @@ Please wait
# messages.spinnerStart

Analyzing with Salesforce Graph Engine. See %s for details.

# errors.failedWithoutProjectDir

The --projectdir|-p flag is missing. Rerun your command with --projectdir|-p to allow Graph Engine to run, or with --engine|-e to exclude Graph Engine from execution.
16 changes: 14 additions & 2 deletions messages/run-common.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ Writes output to a file.

# flags.projectdirSummary

provide root directory of project
root directory of project

# flags.projectdirDescription

Provides the relative or absolute root project directory used to set the context for Graph Engine's analysis. Project directory must be a path, not a glob. Specify multiple values as a comma-separated list.
Provides the relative or absolute root project directories used to set the context for Graph Engine's analysis. Specify multiple values as a comma-separated list. Each project directory must be a path, not a glob. If --projectdir isn’t specified, a default value is calculated. The default value is a directory that contains all the target files.

# flags.sevthresholdSummary

Expand Down Expand Up @@ -81,3 +81,15 @@ The selected output format doesn't match the output file type. Output format: %s
# validations.projectdirMustExist

--projectdir must specify existing paths

# validations.noFilesFoundInTarget

No files were found in the target. --target must contain at least one file.

# info.resolvedTarget

The --target flag wasn't specified so the default target '.' will be used.

# info.resolvedProjectDir

The --projectdir flag wasn’t specified so the calculated project directory '%s' will be used.
10 changes: 3 additions & 7 deletions messages/run-dfa.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Specifies number of rule evaluation threads, or how many entrypoints can be eval

# flags.rulethreadtimeoutSummary

specify timeout for individual rule threads in milliseconds. Alternatively, set the timeout value using environment variable `SFGE_RULE_THREAD_TIMEOUT`. Default: 90000 ms
specify timeout for individual rule threads in milliseconds. Alternatively, set the timeout value using environment variable `SFGE_RULE_THREAD_TIMEOUT`. Default: 900000 ms

# flags.rulethreadtimeoutDescription

Expand All @@ -49,11 +49,11 @@ Specifies Java Virtual Machine arguments to override system defaults while execu

# flags.targetSummary

return location of source code
source code location

# flags.targetDescription

Returns the source code location. Use glob patterns or specify individual methods with #-syntax. Multiple values are specified as a comma-separated list.
Specifies the source code location. Use glob patterns or specify individual methods with #-syntax. Multiple values are specified as a comma-separated list. Default is ".".

# flags.withpilotSummary

Expand All @@ -71,10 +71,6 @@ Method-level targets supplied to --target cannot be globs

Method-level target %s must be a real file

# validations.projectdirIsRequired

--projectdir is required for this command.

# examples

The paths specified for --projectdir must contain all files specified through --target cumulatively.
Expand Down
2 changes: 1 addition & 1 deletion messages/run-pathless.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ source code location

# flags.targetDescription

Source code location. May use glob patterns. Specify multiple values as a comma-separated list.
Specifies the source code location. May use glob patterns. Specify multiple values as a comma-separated list. Default is ".".

# flags.envSummary

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@salesforce/sfdx-scanner",
"description": "Static code scanner that applies quality and security rules to Apex code, and provides feedback.",
"version": "3.20.0",
"version": "3.21.0",
"author": "ISV SWAT",
"bugs": "https://github.com/forcedotcom/sfdx-scanner/issues",
"dependencies": {
Expand Down
Loading
Loading