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':