Skip to content

Commit

Permalink
scala fix
Browse files Browse the repository at this point in the history
  • Loading branch information
moqsien committed Mar 15, 2024
1 parent 7fb753a commit 7fbf00a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkgs/versions/scala.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ func (s *Scala) FetchAll() {
if s.doc != nil {
s.doc.Find("div.download-elem").Find("a").Each(func(_ int, ss *goquery.Selection) {
vName := strings.ReplaceAll(ss.Text(), "Scala ", "")
vName = strings.ReplaceAll(vName, " ", "-")
if _, ok := s.versions[vName]; !ok {
s.versions[vName] = []*VFile{
{
Expand Down

0 comments on commit 7fbf00a

Please sign in to comment.