mirror of
https://github.com/logseq/logseq.git
synced 2026-04-24 22:25:01 +00:00
Fix git
This commit is contained in:
@@ -96,9 +96,10 @@
|
||||
:fast true})))
|
||||
(defn add
|
||||
[repo-url file]
|
||||
(js/window.git.add (clj->js
|
||||
{:dir (util/get-repo-dir repo-url)
|
||||
:filepath file})))
|
||||
(when js/window.git
|
||||
(js/window.git.add (clj->js
|
||||
{:dir (util/get-repo-dir repo-url)
|
||||
:filepath file}))))
|
||||
|
||||
(defn remove-file
|
||||
[repo-url file]
|
||||
|
||||
Reference in New Issue
Block a user