From 19bdf9b2777da024056c7ce63ede40066e1fc27f Mon Sep 17 00:00:00 2001 From: Alexander von Weiss Date: Sat, 25 Nov 2023 14:39:07 +0100 Subject: [PATCH] chore: update the comments to better reflect what those parts are doing --- src/parsers/pipe.parser.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/parsers/pipe.parser.ts b/src/parsers/pipe.parser.ts index 66a6f3b0..5ad67f26 100644 --- a/src/parsers/pipe.parser.ts +++ b/src/parsers/pipe.parser.ts @@ -51,24 +51,24 @@ function traverseAstNode inner.children)); } - // @switch block + // contents of @case blocks (ignoring the @switch(...) statement though) if (node instanceof TmplAstSwitchBlock) { children.push(...node.cases.flatMap((inner) => inner.children)); }