Browse Source

fix: lint

Tienson Qin 5 days ago
parent
commit
6b12299520

+ 1 - 1
deps/outliner/src/logseq/outliner/page.cljs

@@ -229,7 +229,7 @@
        [page])
      (remove nil?))))
 
-(defn- ^:large-vars/cleanup-todo create
+(defn ^:large-vars/cleanup-todo create
   "Pure function without side effects"
   [db title*
    {uuid' :uuid

+ 1 - 1
deps/outliner/src/logseq/outliner/commands.cljs → src/main/frontend/worker/commands.cljs

@@ -1,4 +1,4 @@
-(ns logseq.outliner.commands
+(ns frontend.worker.commands
   "Invoke commands based on user settings"
   (:require [cljs-time.coerce :as tc]
             [cljs-time.core :as t]

+ 1 - 1
src/main/frontend/worker/pipeline.cljs

@@ -3,6 +3,7 @@
   (:require [clojure.string :as string]
             [datascript.core :as d]
             [frontend.worker-common.util :as worker-util]
+            [frontend.worker.commands :as commands]
             [frontend.worker.file :as file]
             [frontend.worker.react :as worker-react]
             [frontend.worker.state :as worker-state]
@@ -16,7 +17,6 @@
             [logseq.db.frontend.class :as db-class]
             [logseq.db.sqlite.export :as sqlite-export]
             [logseq.graph-parser.exporter :as gp-exporter]
-            [logseq.outliner.commands :as commands]
             [logseq.outliner.core :as outliner-core]
             [logseq.outliner.datascript-report :as ds-report]
             [logseq.outliner.pipeline :as outliner-pipeline]))

+ 1 - 2
src/test/frontend/test/helper.cljs

@@ -18,8 +18,7 @@
             [logseq.db.sqlite.build :as sqlite-build]
             [logseq.db.sqlite.create-graph :as sqlite-create-graph]
             [logseq.db.sqlite.util :as sqlite-util]
-            [logseq.graph-parser.text :as text]
-            [logseq.outliner.db-pipeline :as db-pipeline]))
+            [logseq.graph-parser.text :as text]))
 
 (def node? (exists? js/process))
 

+ 1 - 1
src/test/frontend/worker/commands_test.cljs

@@ -2,7 +2,7 @@
   (:require [cljs-time.coerce :as tc]
             [cljs-time.core :as t]
             [cljs.test :refer [deftest is testing]]
-            [logseq.outliner.commands :as commands]))
+            [frontend.worker.commands :as commands]))
 
 (def get-next-time #'commands/get-next-time)
 (def minute-unit {:db/ident :logseq.property.repeat/recur-unit.minute})