Skip to content

Commit

Permalink
remove unused filter property
Browse files Browse the repository at this point in the history
  • Loading branch information
ElinorW committed May 29, 2024
1 parent 972b8e3 commit 94f713e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions vscode/microsoft-kiota/src/steps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -434,11 +434,10 @@ interface InputBoxParameters {
openLabel: string;
canSelectFolders: boolean;
canSelectFiles: boolean;
filters?: { [name: string]: string[] };
}

class MultiStepInput {
async showOpenDialog({ canSelectMany, openLabel, canSelectFolders, canSelectFiles, filters} : OpenDialogParameters): Promise<Uri[] | undefined> {
async showOpenDialog({ canSelectMany, openLabel, canSelectFolders, canSelectFiles} : OpenDialogParameters): Promise<Uri[] | undefined> {
const disposables: Disposable[] = [];

try {
Expand All @@ -447,8 +446,7 @@ class MultiStepInput {
canSelectMany,
openLabel,
canSelectFolders,
canSelectFiles,
filters
canSelectFiles
};

void window.showOpenDialog(input).then(folderUris => {
Expand Down

0 comments on commit 94f713e

Please sign in to comment.