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/')