mirror of
https://github.com/logseq/logseq.git
synced 2026-05-02 18:06:32 +00:00
Fix multiple issues with global config
- global config saved outside the app errored and had no effect on config - global config saved in app, saved invalid state and invalid file - removed outdated global error handling on alter-file - Also fix validations for repo config
This commit is contained in:
@@ -81,7 +81,7 @@
|
||||
[path format] (:rum/args state)
|
||||
repo-dir (config/get-repo-dir (state/get-current-repo))
|
||||
[dir path] (cond
|
||||
(string/starts-with? path (global-config-handler/global-config-dir))
|
||||
(string/starts-with? path (str (global-config-handler/safe-global-config-dir)))
|
||||
[nil path]
|
||||
|
||||
;; in-repo file, absolute path
|
||||
|
||||
Reference in New Issue
Block a user