mirror of
https://github.com/logseq/logseq.git
synced 2026-06-01 19:01:22 +00:00
fix(test): do not prompt filename change
This commit is contained in:
@@ -369,6 +369,7 @@
|
||||
(fn []
|
||||
(let [filename-format (state/get-filename-format repo)]
|
||||
(when (and (util/electron?)
|
||||
(not (util/ci?))
|
||||
(not (config/demo-graph?))
|
||||
(not= filename-format :triple-lowbar))
|
||||
(state/pub-event! [:ui/notify-outdated-filename-format []]))))
|
||||
|
||||
@@ -113,6 +113,11 @@
|
||||
[]
|
||||
(when (electron?) (. js/window -__MOCKED_OPEN_DIR_PATH__))))
|
||||
|
||||
#?(:cljs
|
||||
(defn ci?
|
||||
[]
|
||||
(boolean (. js/window -__E2E_TESTING__))))
|
||||
|
||||
#?(:cljs
|
||||
(do
|
||||
(def nfs? (and (not (electron?))
|
||||
|
||||
Reference in New Issue
Block a user