File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
- import vscode , { window } from 'vscode'
1
+ import * as vscode from 'vscode'
2
2
import { partition } from 'rambda'
3
3
import { throttle } from 'lodash'
4
- import { CommandHandler , extensionCtx , getExtensionSetting } from 'vscode-framework'
4
+ import { CommandHandler , getExtensionSetting } from 'vscode-framework'
5
5
import isOnline from 'is-online'
6
6
import { PackageJson } from 'type-fest'
7
7
import { getCurrentWorkspaceRoot } from '@zardoy/vscode-utils/build/fs'
@@ -200,7 +200,7 @@ export const installPackages = async (location: 'closest' | 'workspace') => {
200
200
201
201
quickPick . busy = true
202
202
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` )
204
204
console . error ( err )
205
205
} )
206
206
} )
You can’t perform that action at this time.
0 commit comments