mirror of
https://github.com/OliveTin/OliveTin
synced 2025-12-12 00:55:34 +00:00
bugfix: Issue #33 - argument names now allow a-zA-Z0-9_
This commit is contained in:
@@ -220,7 +220,7 @@ func parseActionArguments(rawShellCommand string, values map[string]string, acti
|
||||
"cmd": rawShellCommand,
|
||||
}).Infof("Before Parse Args")
|
||||
|
||||
r := regexp.MustCompile("{{ *?([a-z]+?) *?}}")
|
||||
r := regexp.MustCompile("{{ *?([a-zA-Z0-9_]+?) *?}}")
|
||||
matches := r.FindAllStringSubmatch(rawShellCommand, -1)
|
||||
|
||||
for _, match := range matches {
|
||||
|
||||
Reference in New Issue
Block a user