From c32a76083e8e52bb60b8c495048dce001ac9471a Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 6 Aug 2024 02:12:46 -0400 Subject: sbolint: stop complaining about refs/tags in github URLs. --- sbolint | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sbolint b/sbolint index 1ad3cc2..fddac40 100755 --- a/sbolint +++ b/sbolint @@ -1235,9 +1235,7 @@ sub check_github_url { # do not police releases/ or raw/ URLs, only archive/ return unless $url =~ m{github\.com/[^/]*/[^/]*/archive/}; - if($url =~ s,refs/tags/,,) { - log_error "$file: github URLs should not have refs/tags/"; - } + $url =~ s,refs/tags/,,; #https: // site/ .../ .../ archive/ ...everything else. (my $proto, undef, undef, $user, $proj, undef, @parts) = split /\//, $url; -- cgit v1.2.3