Skip to content

Commit

Permalink
Merge pull request #925 from forcedotcom/d/W-11533657-messages
Browse files Browse the repository at this point in the history
CHANGE (CodeAnalyzer): @W-11533657@: Messages now meet doc team standards.
  • Loading branch information
jfeingold35 authored Jan 3, 2023
2 parents efd8ae8 + 73cac7d commit b8bfc92
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 1 addition & 4 deletions messages/SfgeEngine.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ module.exports = {
"spinnerStart": "Analyzing with Salesforce Graph Engine. See %s for details."
},
"errors": {
"failedWithoutProjectDir": `Salesforce Graph Engine cannot run without --projectdir/-p. You must rerun your command, and either use --projectdir/-p so Graph Engine can run, or modify --engine/-e to exclude Graph Engine from execution.`
},
"warnings": {
"skippedWithoutProjectDir": `Salesforce Graph Engine cannot run without --projectdir/-p, and will be skipped due to your %s.%s value of %s in %s.`
"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.`
}
};
2 changes: 2 additions & 0 deletions test/commands/scanner/run.severity.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ describe('scanner:run', function () {
describe('--normalize-severity flag', () => {

setupCommandTest
.timeout(15000)
.command(['scanner:run',
'--target', path.join('test', 'code-fixtures'),
'--format', 'json',
Expand Down Expand Up @@ -123,6 +124,7 @@ describe('scanner:run', function () {
});

setupCommandTest
.timeout(15000)
.command(['scanner:run',
'--target', path.join('test', 'code-fixtures'),
'--format', 'json'
Expand Down

0 comments on commit b8bfc92

Please sign in to comment.