Skip to content

Commit e5c694b

Browse files
committed
fix(adapter-yaml-1-2): avoid annotation accumulation
Closes #814
1 parent 36c99ef commit e5c694b

File tree

1 file changed

+1
-0
lines changed
  • packages/apidom-parser-adapter-yaml-1-2/src/syntactic-analysis/visitors

1 file changed

+1
-0
lines changed

packages/apidom-parser-adapter-yaml-1-2/src/syntactic-analysis/visitors/YamlAstVisitor.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ const YamlAstVisitor = stampit({
7979
*/
8080

8181
this.namespace = createNamespace();
82+
this.annotations = [];
8283

8384
this.stream = {
8485
leave(node: YamlStream) {

0 commit comments

Comments
 (0)