We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a1b6e0 commit 2fc6d1fCopy full SHA for 2fc6d1f
src/features/SelectPSSARules.ts
@@ -47,7 +47,10 @@ export class SelectPSSARulesFeature implements IFeature {
47
});
48
49
showCheckboxQuickPick(options)
50
- .then(updatedOptions => {
+ .then((updatedOptions: CheckboxQuickPickItem[]) => {
51
+ if (updatedOptions === undefined) {
52
+ return;
53
+ }
54
let filepath: string = vscode.window.activeTextEditor.document.uri.fsPath;
55
let ruleInfos: RuleInfo[] = updatedOptions.map(
56
function (option: CheckboxQuickPickItem): RuleInfo {
0 commit comments