From 854c282983399aef15582a1e780b6d148357942f Mon Sep 17 00:00:00 2001 From: Lucas Wilson-Richter Date: Mon, 17 Jun 2024 17:43:06 +1000 Subject: [PATCH] It's fine, right? --- fcl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fcl b/fcl index 5ba45da..72f3d1e 100755 --- a/fcl +++ b/fcl @@ -42,6 +42,9 @@ def repo_url(repo_str) # GitHub HTTPS. We like these, use it as-is. when /^(git|https)\:\/\/github\.com\// repo_str + # Other HTTPS. Assume it's fine? + when /^https\:\/\// + repo_str # GitHub SSH. Let's convert this to HTTPS. when /^git@github\.com\:.+\.git$/ repo_str.sub(/^git@github\.com:/, 'https://github.com/')