[gnome-shell] ci: Add missing node type



commit 2d6f4aabf904da0129dfd545005a98f2f66027b0
Author: Florian Müllner <fmuellner gnome org>
Date:   Sat Jan 8 19:53:15 2022 +0100

    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>

 .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 e89c5adb65..28448f874c 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':


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]