Skip to content

Commit bd3785d

Browse files
authored
Merge pull request #1347 from forcedotcom/dev
RELEASE: @W-14914244@: Merging `dev` to `release` for v3.21.0
2 parents c0b5f56 + 0c30039 commit bd3785d

28 files changed

+1024
-203
lines changed

messages/SfgeEngine.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,3 @@ Please wait
55
# messages.spinnerStart
66

77
Analyzing with Salesforce Graph Engine. See %s for details.
8-
9-
# errors.failedWithoutProjectDir
10-
11-
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.

messages/run-common.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ Writes output to a file.
3232

3333
# flags.projectdirSummary
3434

35-
provide root directory of project
35+
root directory of project
3636

3737
# flags.projectdirDescription
3838

39-
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.
39+
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.
4040

4141
# flags.sevthresholdSummary
4242

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

8383
--projectdir must specify existing paths
84+
85+
# validations.noFilesFoundInTarget
86+
87+
No files were found in the target. --target must contain at least one file.
88+
89+
# info.resolvedTarget
90+
91+
The --target flag wasn't specified so the default target '.' will be used.
92+
93+
# info.resolvedProjectDir
94+
95+
The --projectdir flag wasn’t specified so the calculated project directory '%s' will be used.

messages/run-dfa.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Specifies number of rule evaluation threads, or how many entrypoints can be eval
3333

3434
# flags.rulethreadtimeoutSummary
3535

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

3838
# flags.rulethreadtimeoutDescription
3939

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

5050
# flags.targetSummary
5151

52-
return location of source code
52+
source code location
5353

5454
# flags.targetDescription
5555

56-
Returns the source code location. Use glob patterns or specify individual methods with #-syntax. Multiple values are specified as a comma-separated list.
56+
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 ".".
5757

5858
# flags.withpilotSummary
5959

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

7272
Method-level target %s must be a real file
7373

74-
# validations.projectdirIsRequired
75-
76-
--projectdir is required for this command.
77-
7874
# examples
7975

8076
The paths specified for --projectdir must contain all files specified through --target cumulatively.

messages/run-pathless.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ source code location
2020

2121
# flags.targetDescription
2222

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

2525
# flags.envSummary
2626

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@salesforce/sfdx-scanner",
33
"description": "Static code scanner that applies quality and security rules to Apex code, and provides feedback.",
4-
"version": "3.20.0",
4+
"version": "3.21.0",
55
"author": "ISV SWAT",
66
"bugs": "https://github.com/forcedotcom/sfdx-scanner/issues",
77
"dependencies": {

0 commit comments

Comments
 (0)