From 72b863583297ed284c18f7d30e524e65393b0ff8 Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Wed, 28 May 2025 09:44:57 +0200 Subject: [PATCH] remove @ from username Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com> --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index dd356e6..0d88b8e 100644 --- a/main.go +++ b/main.go @@ -92,6 +92,7 @@ func main() { ) os.Exit(1) } else if username != "" { + username = strings.TrimPrefix(username, "@") if err := ghrecon.ParseUsername(username); err != nil { logger.Error("Invalid username", "err", err) os.Exit(1)