ci: Add missing node type

Spotted in the error logs of
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2040

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2089>
This commit is contained in:
Florian Müllner 2022-01-08 19:53:15 +01:00 committed by Marge Bot
parent fe3a80ab9f
commit 2d6f4aabf9

View File

@ -87,6 +87,7 @@ function nodesToWalk(node) {
return node.body; return node.body;
case 'CallExpression': case 'CallExpression':
case 'NewExpression': case 'NewExpression':
case 'OptionalCallExpression':
case 'TaggedTemplate': case 'TaggedTemplate':
return [node.callee, ...node.arguments]; return [node.callee, ...node.arguments];
case 'CatchClause': case 'CatchClause':