Skip to content

Commit becd5aa

Browse files
committed
ci: fix lint
1 parent 9fc85a8 commit becd5aa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/commands/addPackages.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import vscode, { window } from 'vscode'
1+
import * as vscode from 'vscode'
22
import { partition } from 'rambda'
33
import { throttle } from 'lodash'
4-
import { CommandHandler, extensionCtx, getExtensionSetting } from 'vscode-framework'
4+
import { CommandHandler, getExtensionSetting } from 'vscode-framework'
55
import isOnline from 'is-online'
66
import { PackageJson } from 'type-fest'
77
import { getCurrentWorkspaceRoot } from '@zardoy/vscode-utils/build/fs'
@@ -200,7 +200,7 @@ export const installPackages = async (location: 'closest' | 'workspace') => {
200200

201201
quickPick.busy = true
202202
await throttledSearch(search)?.catch(err => {
203-
void window.showErrorMessage(`Search error: ${err.message}. See output for more`)
203+
void vscode.window.showErrorMessage(`Search error: ${err.message}. See output for more`)
204204
console.error(err)
205205
})
206206
})

0 commit comments

Comments
 (0)