mirror of
https://github.com/adnanh/webhook.git
synced 2026-07-26 17:19:17 +08:00
do not prefix specified environment variable name with HOOK_ (fixes #98)
This commit is contained in:
+1
-1
@@ -179,7 +179,7 @@ var hookExtractCommandArgumentsForEnvTests = []struct {
|
||||
"test",
|
||||
[]Argument{Argument{"header", "a", "MYKEY"}},
|
||||
&map[string]interface{}{"a": "z"}, nil, nil,
|
||||
[]string{"HOOK_MYKEY=z"},
|
||||
[]string{"MYKEY=z"},
|
||||
true,
|
||||
},
|
||||
// failures
|
||||
|
||||
Reference in New Issue
Block a user