fix: publishing not working at all

This commit is contained in:
Tienson Qin
2021-01-14 14:26:21 +08:00
parent 27712fd6c3
commit 9b8c2caf02
7 changed files with 58 additions and 41 deletions

View File

@@ -820,11 +820,9 @@
(defn get-current-project
[]
(when-let [repo (get-current-repo)]
(let [projects (:projects (get-me))
project (:name (first (filter (fn [p] (= (:repo p) repo)) projects)))]
(when-not (string/blank? project)
project))))
(when-let [project (get-in (get-config) [:project :name])]
(when-not (string/blank? project)
project)))
(defn update-current-project
[& kv]