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.
pnpm-workspace.yaml
1 parent f8b696a commit 0ddc451Copy full SHA for 0ddc451
1 file changed
src/extractors/pnpm-workspace-yaml.ts
@@ -82,7 +82,10 @@ export class PnpmWorkspaceYamlExtractor implements Extractor<Node> {
82
let result: DependencyInfo<Node> | undefined
83
84
this.traverseCatalogs(root, (item) => {
85
- if (isInRange(offset, item.value!.range!)) {
+ if (
86
+ isInRange(offset, item.value!.range!)
87
+ || isInRange(offset, item.key.range!)
88
+ ) {
89
result = {
90
nameNode: item.key,
91
versionNode: item.value!,
0 commit comments