Skip to content

Commit

Permalink
Update src/main.go
Browse files Browse the repository at this point in the history
Co-authored-by: Mattias Jonsson <mjonss@users.noreply.github.com>
  • Loading branch information
dveeden and mjonss committed Jan 18, 2022
1 parent a477f48 commit 021d2f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ func (t *tester) Run() error {
if q.Query[0] == '$' {
start = 1
}
varName := q.Query[start:eqIdx]
varName := strings.TrimSpace(q.Query[start:eqIdx])
varValue := strings.TrimSpace(q.Query[eqIdx+1:])
varSearch := regexp.MustCompile("`(.*)`")
varValue = varSearch.ReplaceAllStringFunc(varValue, func(s string) string {
Expand Down

0 comments on commit 021d2f6

Please sign in to comment.