Skip to content

Commit 68227c4

Browse files
committed
Add LiquidDocParamNode case to print function
1 parent 219095f commit 68227c4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/prettier-plugin-liquid/src/printer/printer-liquid-html.ts

+4
Original file line numberDiff line numberDiff line change
@@ -547,6 +547,10 @@ function printNode(
547547
return [...doc, ...lookups];
548548
}
549549

550+
case NodeTypes.LiquidDocParamNode: {
551+
return node.name;
552+
}
553+
550554
default: {
551555
return assertNever(node);
552556
}

0 commit comments

Comments
 (0)