feat(aa-log): improve the regex helper type.
This commit is contained in:
parent
84247e390c
commit
e3545cc3bb
4 changed files with 12 additions and 9 deletions
|
|
@ -71,9 +71,7 @@ func (t *TestSuite) Write(path *paths.Path) error {
|
|||
`{{`, `{{ `,
|
||||
`}}`, ` }}`,
|
||||
})
|
||||
for _, aa := range regClean {
|
||||
res = aa.Regex.ReplaceAllLiteralString(res, aa.Repl)
|
||||
}
|
||||
res = regClean.Replace(res)
|
||||
_, err = file.WriteString("---\n" + res)
|
||||
return err
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue