chore(dev): remove debug

This commit is contained in:
charlie
2025-01-08 09:01:34 +08:00
parent cadb00279c
commit 1110e81741

View File

@@ -777,8 +777,7 @@
[url]
(if (not (and (string? url) (string/starts-with? url "http")))
(p/rejected (js/Error. "Invalid web url"))
(p/let [_ (p/delay 1000)
url (string/replace url #"/+$" "")
(p/let [url (string/replace url #"/+$" "")
github? (string/includes? url "github.com")
github-repo (when github?
(some-> (re-find #"github.com/([^/]+/[^/]+)" url) (last)))