Skip to content

Commit 3e5e496

Browse files
committed
use stability position
1 parent 701b2b7 commit 3e5e496

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/linter/rules/duplicate-stability-nodes.mjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const duplicateStabilityNodes = entries => {
2525
message: LINT_MESSAGES.duplicateStabilityNode,
2626
location: {
2727
path: entry.api_doc_source,
28-
position: entry.yaml_position,
28+
position: entry.stability.children[0].children[0].position,
2929
},
3030
});
3131
} else {

0 commit comments

Comments
 (0)