Skip to content

Commit 52f3c96

Browse files
committed
Fix lint warnings in component.ts
Signed-off-by: Denis Golovin <dgolovin@redhat.com>
1 parent a488ebb commit 52f3c96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/openshift/component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ export class Component extends OpenShiftItem {
141141
}
142142
}
143143

144-
static isUsingWebviewEditor() {
144+
static isUsingWebviewEditor(): boolean {
145145
return workspace
146146
.getConfiguration('openshiftConnector')
147147
.get<boolean>('useWebviewInsteadOfTerminalView');
@@ -591,7 +591,7 @@ export class Component extends OpenShiftItem {
591591

592592
const binaryFileObj: QuickPickItem[] = paths.map((file) => ({ label: `$(file-zip) ${path.basename(file)}`, description: `${file}`}));
593593

594-
const binaryFile: any = await window.showQuickPick(binaryFileObj, {placeHolder: "Select binary file", ignoreFocusOut: true});
594+
const binaryFile: QuickPickItem = await window.showQuickPick(binaryFileObj, {placeHolder: "Select binary file", ignoreFocusOut: true});
595595

596596
if (!binaryFile) return null;
597597

0 commit comments

Comments
 (0)