style(token): update some style

This commit is contained in:
defclass
2020-11-17 22:13:50 +08:00
parent de2d5113e0
commit a50fc8b076

View File

@@ -319,10 +319,8 @@
(p/catch (fn [error]
(println "Pull error:" (str error))
(js/console.error error)
;; token might be expired, request new token
(when (or (string/includes? (str error) "401")
(string/includes? (str error) "404"))
(string/includes? (str error) "404"))
(show-install-error! repo-url (util/format "Failed to fetch %s." repo-url))))))))))))))
(defn push