Skip to content

Commit

Permalink
remove commented lines
Browse files Browse the repository at this point in the history
  • Loading branch information
jag-j committed Apr 1, 2024
1 parent a88e152 commit f20aa46
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion src/lib/scanner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export class ScanRunner {
resultsProcessorFactory);
await runAction.validateInputs(args);
return runAction.run(args);
} else {
} else {
const engineOptionsFactory: EngineOptionsFactory = new RunEngineOptionsFactory(inputProcessor);
const runAction:RunAction = new RunAction(logger, display, inputProcessor, ruleFilterFactory, engineOptionsFactory,
resultsProcessorFactory);
Expand Down
5 changes: 0 additions & 5 deletions src/test/suite/scanner.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ import {messages} from '../../lib/messages';
import * as File from '../../lib/file';
import {ScanRunner} from '../../lib/scanner';
import { Inputs } from '@salesforce/sfdx-scanner/lib/types';
import {RunAction} from '@salesforce/sfdx-scanner/lib/lib/actions/RunAction';

import {ExecutionResult, RuleResult} from '../../types';

suite('ScanRunner', () => {
suite('#createPathlessArgArray()', () => {
Expand Down Expand Up @@ -44,8 +41,6 @@ suite('ScanRunner', () => {

// ===== ASSERTIONS =====
// Verify that the right arguments were created.
// expect(args).to.have.lengthOf(3, 'Wrong number of args');

expect(args['target']).to.equal(targets, 'Wrong arg');
expect(args['engine']).to.equal('pmd,retire-js', 'Wrong arg');
expect(args['format']).to.equal('json', 'Wrong arg');
Expand Down

0 comments on commit f20aa46

Please sign in to comment.