mirror of
https://github.com/anotherhadi/github-recon.git
synced 2026-10-05 10:58:25 +02:00
Change the way token is retrieve
Signed-off-by: Hadi <[email protected]>
This commit is contained in:
@@ -163,7 +163,7 @@ func GetSettings() (settings Settings) {
|
||||
|
||||
// If token is not set via flag, get it from env
|
||||
if settings.Token == "null" || settings.Token == "" {
|
||||
settings.Token = getToken()
|
||||
settings.Token = GetToken()
|
||||
}
|
||||
|
||||
if settings.Token == "null" || settings.Token == "" {
|
||||
|
||||
Reference in New Issue
Block a user