Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
KMSCAKKSCFKA AKFACAMADCAS
brew
Commits
417bb2eb
Unverified
Commit
417bb2eb
authored
Nov 26, 2020
by
Sam Ford
Browse files
livecheck: clean up comment
parent
5332e877
Changes
1
Hide whitespace changes
Inline
Side-by-side
Library/Homebrew/livecheck/livecheck.rb
View file @
417bb2eb
...
...
@@ -341,7 +341,7 @@ module Homebrew
elsif
host
.
end_with?
(
"git.sr.ht"
)
owner
,
repo
=
path
.
split
(
"/"
)
url
=
"
#{
scheme
}
://
#{
host
}
/
#{
owner
}
/
#{
repo
}
"
#
gitlab
#
GitLab (gitlab.com or self-hosted)
elsif
path
.
include?
(
"/-/archive/"
)
url
=
url
.
sub
(
%r{/-/archive/.*$}i
,
".git"
)
end
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment