Unverified Commit 53d34bb2 authored by Matthew Fisher's avatar Matthew Fisher Committed by GitHub

Merge pull request #6114 from AllenZMC/patch-1

fix word `constrint` to `constraint`
parents 2f16e0ed 6485fec3
......@@ -136,7 +136,7 @@ func (i *VCSInstaller) solveVersion(repo vcs.Repo) (string, error) {
sort.Sort(sort.Reverse(semver.Collection(semvers)))
for _, v := range semvers {
if constraint.Check(v) {
// If the constrint passes get the original reference
// If the constraint passes get the original reference
ver := v.Original()
debug("setting to %s", ver)
return ver, nil
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment