remove @ from username

Signed-off-by: Hadi <[email protected]>
This commit is contained in:
Hadi
2025-05-28 09:44:57 +02:00
parent 2ba8695674
commit 72b8635832
+1
View File
@@ -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)