chore: clean up unused parameters

This commit is contained in:
Marco Rodolfi
2023-06-22 17:32:20 +02:00
parent ae887e10d6
commit 143461d597
+2 -22
View File
@@ -365,29 +365,9 @@ class PluginLoader extends Logger {
regex?: RegExp,
): Promise<{ path: string; realpath: string }> {
if (selectFiles) {
return this.openFilePickerV2(
FileSelectionType.FILE,
startPath,
true,
true,
regex,
undefined,
undefined,
undefined,
undefined,
);
return this.openFilePickerV2(FileSelectionType.FILE, startPath, true, true, regex);
} else {
return this.openFilePickerV2(
FileSelectionType.FOLDER,
startPath,
false,
true,
regex,
undefined,
undefined,
undefined,
undefined,
);
return this.openFilePickerV2(FileSelectionType.FOLDER, startPath, false, true, regex);
}
}