Skip to content

Commit 1bd5a1f

Browse files
committed
FIX (Extension) @W-15639920@ address review feedback
1 parent 1ab7f49 commit 1bd5a1f

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

src/commands/scanner/run/dfa.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,14 @@ export default class Dfa extends ScannerRunCommand {
7373
'enablecaching': Flags.boolean({
7474
summary: '',
7575
description: '',
76-
env: 'SFGE_ENABLE_CACHING'
76+
env: 'SFGE_ENABLE_CACHING',
77+
hidden: true
7778
}),
7879
'cachepath': Flags.string({
7980
summary: '',
8081
description: '',
81-
env: 'SFGE_FILES_TO_ENTRIES_CACHE_LOCATION'
82+
env: 'SFGE_FILES_TO_ENTRIES_CACHE_LOCATION',
83+
hidden: true
8284
}),
8385
// END: Config-overrideable engine flags.
8486
};

src/lib/EngineOptionsFactory.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,7 @@ abstract class CommonEngineOptionsFactory implements EngineOptionsFactory {
2828
const options: Map<string,string> = new Map();
2929
if (this.shouldSfgeRun(inputs)) {
3030
const sfgeConfig: SfgeConfig = {
31-
projectDirs: this.inputProcessor.resolveProjectDirPaths(inputs),
32-
cachepath: inputs.cachepath as string,
33-
enablecaching: inputs.enablecaching as boolean
31+
projectDirs: this.inputProcessor.resolveProjectDirPaths(inputs)
3432
};
3533
options.set(CUSTOM_CONFIG.SfgeConfig, JSON.stringify(sfgeConfig));
3634
}

src/lib/sfge/SfgeWrapper.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ type SfgeWrapperOptions = {
3333
spinnerManager: SpinnerManager;
3434
jvmArgs?: string;
3535
pathExpLimit?: number;
36-
enablecaching?: boolean;
37-
cachepath?: string;
3836
}
3937

4038
type SfgeCatalogOptions = SfgeWrapperOptions & {
@@ -170,7 +168,6 @@ abstract class AbstractSfgeWrapper extends CommandLineSupport {
170168
}
171169
args.push(...this.getSupplementalFlags(), MAIN_CLASS, this.action, ...(await this.getSupplementalArgs()));
172170
this.logger.trace(`Preparing to execute sfge with command: "${command}", args: "${JSON.stringify(args)}"`);
173-
console.log(`Preparing to execute sfge with command: "${command}", args: "${JSON.stringify(args)}"`);
174171
return [command, args];
175172
}
176173
protected async execute(): Promise<string> {

0 commit comments

Comments
 (0)