From 1194bb08d37c4f73348d014127812dd520ff8ace Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Thu, 25 May 2023 15:03:03 +0000 Subject: [PATCH] chore: debug --- server/utils/utils.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/utils/utils.go b/server/utils/utils.go index f3b01eb30cbf16da473366aeaf0be22e77b016e0..ca54ce2717031906766a3209b17942e791e7e958 100644 --- a/server/utils/utils.go +++ b/server/utils/utils.go @@ -40,8 +40,11 @@ func ValidateRepo(repo string) error { return fmt.Errorf("repo cannot be empty") } + fmt.Println("ACTUAL REPO NAME IS", repo) + for _, r := range repo { if !unicode.IsLetter(r) && !unicode.IsDigit(r) && r != '-' && r != '_' && r != '.' && r != '/' { + fmt.Println("INVALID CHAR", r, string(r)) return fmt.Errorf("repo can only contain letters, numbers, hyphens, underscores, periods, and slashes") } }