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 a918671 commit 63508f1Copy full SHA for 63508f1
1 file changed
packages/language-service/src/plugins/version-lens.ts
@@ -77,6 +77,7 @@ export function create(workspaceState: IWorkspaceState): LanguageServicePlugin {
77
return []
78
79
const lenses: CodeLens[] = []
80
+ const hideWhenLatest = await getConfig(context, 'npmx.versionLens.hideWhenLatest')
81
82
for (const dep of dependencies) {
83
if (dep.resolvedProtocol !== 'npm' || dep.category === 'peerDependencies')
@@ -104,7 +105,6 @@ export function create(workspaceState: IWorkspaceState): LanguageServicePlugin {
104
105
}
106
107
- const hideWhenLatest = await getConfig(context, 'npmx.versionLens.hideWhenLatest')
108
if (hideWhenLatest)
109
continue
110
0 commit comments