Skip to content
Snippets Groups Projects
Commit a6d4f2fb authored by Liz Rice's avatar Liz Rice Committed by GitHub
Browse files

Merge pull request #50 from junaid18183/master

Fixed issue admission control showing wrong status
parents 883b963e 44994ced
No related branches found
No related tags found
No related merge requests found
...@@ -62,7 +62,8 @@ func (t *testItem) execute(s string) (result bool) { ...@@ -62,7 +62,8 @@ func (t *testItem) execute(s string) (result bool) {
// --flag=somevalue // --flag=somevalue
// --flag // --flag
// somevalue // somevalue
pttn := `(` + t.Flag + `)(=)*([^\s,]*) *` //pttn := `(` + t.Flag + `)(=)*([^\s,]*) *`
pttn := `(` + t.Flag + `)(=)*([^\s]*) *`
flagRe := regexp.MustCompile(pttn) flagRe := regexp.MustCompile(pttn)
vals := flagRe.FindStringSubmatch(s) vals := flagRe.FindStringSubmatch(s)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment