fix: invalid db when uploading new plugin

This commit is contained in:
Tienson Qin
2025-10-24 22:17:46 +08:00
parent adfc0a1341
commit c32a10e7b5
2 changed files with 2 additions and 2 deletions

View File

@@ -631,7 +631,7 @@
[dirname ^js default]
(fn [key]
(when-let [key (and key (name key))]
(let [repo ""
(let [repo (state/get-current-repo)
dotroot (get-ls-dotdir-root)
filepath (util/node-path.join dotroot dirname (str key ".json"))]
(if (util/electron?)