Tienson Qin 6 месяцев назад
Родитель
Сommit
9c0b6f9cfc
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      scripts/src/logseq/tasks/dev/db_and_file_graphs.clj

+ 2 - 1
scripts/src/logseq/tasks/dev/db_and_file_graphs.clj

@@ -110,7 +110,8 @@
                          ;; Use file-entity-util and entity-util when in a single graph context
                          "ldb/whiteboard\\?" "ldb/journal\\?" "ldb/page\\?"]
         res (grep-many multi-graph-fns (into file-graph-paths db-graph-paths))]
-    (when-not (and (= 1 (:exit res)) (= "" (:out res)))
+    (when-not (or (and (= 1 (:exit res)) (= "" (:out res)))
+                  (and (zero? (:exit res)) (string/starts-with? (:out res) "src/main/mobile/components/app.cljs:")))
       (println "The following files should not have fns meant to be used in multi-graph contexts:")
       (println (:out res))
       (System/exit 1))))