mirror of
https://github.com/adnanh/webhook.git
synced 2025-08-03 00:10:32 +00:00
Fixed typo in docstring
This commit is contained in:
parent
673e84a7ea
commit
9826872287
1 changed files with 1 additions and 1 deletions
|
@ -369,7 +369,7 @@ func (h *Hook) ExtractCommandArgumentsForEnv(headers, query, payload *map[string
|
|||
// first try to use the EnvName if specified
|
||||
args = append(args, EnvNamespace+h.PassEnvironmentToCommand[i].EnvName+"="+arg)
|
||||
} else {
|
||||
// then fallbask on the name
|
||||
// then fallback on the name
|
||||
args = append(args, EnvNamespace+h.PassEnvironmentToCommand[i].Name+"="+arg)
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue