Add debug behaviour

This commit is contained in:
Julien Fastré 2024-03-11 11:51:54 +01:00
parent a461960fd4
commit 9bd9f4bfb8
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ func main() {
token := os.Getenv("GITHUB_TOKEN")
fmt.Printf("Api url is %v\n", ctx.ServerURL)
fmt.Printf("Debug: GITHUB_TOKEN begins with %v (4 first characters)\n", token[0:4])
fmt.Printf("Debug: GITHUB_TOKEN begins with %v (4 first characters) and length is %d\n", token[0:4], len(token))
config, err := ParseActionConfig(*ctx)
if err != nil {