From 36ce2fcffdc65ef6a08925e36a8c0387ac93e6ec Mon Sep 17 00:00:00 2001 From: "AO3\\andriws.luna" Date: Mon, 6 May 2024 10:28:26 -0300 Subject: [PATCH] Remo this unecessary code. This causes bug when using case-sensitive servers. --- core/installer/utils.go | 1 - 1 file changed, 1 deletion(-) diff --git a/core/installer/utils.go b/core/installer/utils.go index f470cd9..d6e93fc 100644 --- a/core/installer/utils.go +++ b/core/installer/utils.go @@ -11,7 +11,6 @@ import ( func EnsureDependencyOfArgs(pkg *models.Package, args []string) { for e := range args { dependency := ParseDependency(args[e]) - dependency = strings.ToLower(dependency) re := regexp.MustCompile(`(?U)(?m)^(?:http[s]{0,1}://)?(?P.*)(?::(?P[\^~]?(?:\d+\.)?(?:\d+\.)?(?:\*|\d+)))?$`) match := make(map[string]string)