Skip to content

Commit

Permalink
Merge pull request #448 from paketo-buildpacks/clojure-fix
Browse files Browse the repository at this point in the history
Fixes typo that caused non-stable releases to be selected
  • Loading branch information
Daniel Mikusa authored Nov 5, 2021
2 parents bf6e802 + c1870fc commit 1e706a7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions actions/clojure-tools-dependency/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,13 @@ func main() {
panic(err)
}

versions := make(actions.Versions)
versions = make(actions.Versions)
versions[normalVersion] = fmt.Sprintf("https://download.clojure.org/install/linux-install-%s.sh", origVersion)
}

if o, err := versions.GetLatest(inputs); err != nil {
panic(err)
} else {
o.Write(os.Stdout)
if o, err := versions.GetLatest(inputs); err != nil {
panic(err)
} else {
o.Write(os.Stdout)
}
}
}

0 comments on commit 1e706a7

Please sign in to comment.