We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1671758 commit 455bb55Copy full SHA for 455bb55
src/services/FileManagement/DirectoryScanner.ts
@@ -18,7 +18,7 @@ export class DirectoryScanner implements IDirectoryScanner {
18
}
19
20
21
- private get DEFAULT_OPTIONS(): TreeOptions {
+ private get defaultOptions(): TreeOptions {
22
const config = this.configService.getConfig();
23
return {
24
ignore: config.directoryScanner.defaultIgnore,
@@ -71,7 +71,7 @@ export class DirectoryScanner implements IDirectoryScanner {
71
options: Partial<TreeOptions> = {},
72
): Promise<IFileOperationResult> {
73
try {
74
- const defaultOptions = this.DEFAULT_OPTIONS;
+ const defaultOptions = this.defaultOptions;
75
const scanOptions = { ...defaultOptions, ...options };
76
const ignore = [
77
...this.REQUIRED_IGNORE,
0 commit comments