From 2d6f4aabf904da0129dfd545005a98f2f66027b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Sat, 8 Jan 2022 19:53:15 +0100 Subject: [PATCH] ci: Add missing node type Spotted in the error logs of https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2040 Part-of: --- .gitlab-ci/check-potfiles.js | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci/check-potfiles.js b/.gitlab-ci/check-potfiles.js index e89c5adb6..28448f874 100644 --- a/.gitlab-ci/check-potfiles.js +++ b/.gitlab-ci/check-potfiles.js @@ -87,6 +87,7 @@ function nodesToWalk(node) { return node.body; case 'CallExpression': case 'NewExpression': + case 'OptionalCallExpression': case 'TaggedTemplate': return [node.callee, ...node.arguments]; case 'CatchClause':