Tienson Qin 1 سال پیش
والد
کامیت
bee0e27d19
1فایلهای تغییر یافته به همراه2 افزوده شده و 3 حذف شده
  1. 2 3
      deps/db/src/logseq/db.cljs

+ 2 - 3
deps/db/src/logseq/db.cljs

@@ -57,9 +57,8 @@
   ([repo-or-conn tx-data]
    (transact! repo-or-conn tx-data nil))
   ([repo-or-conn tx-data tx-meta]
-   (when (or goog.DEBUG
-             ;; test
-             (exists? js/process))
+   (when (or (exists? js/process)
+             goog.DEBUG)
      (assert-no-entities tx-data))
    (let [tx-data (map (fn [m]
                         (if (map? m)