mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 21:38:05 -05:00
fix ci
This commit is contained in:
@@ -321,7 +321,7 @@ func (f *TextFormatter) needsQuoting(text string) bool {
|
||||
|
||||
func extractPrefix(msg string) (string, string) {
|
||||
prefix := ""
|
||||
regex := regexp.MustCompile("^\\[(.*?)\\]")
|
||||
regex := regexp.MustCompile(`^\\[(.*?)\\]`)
|
||||
if regex.MatchString(msg) {
|
||||
match := regex.FindString(msg)
|
||||
prefix, msg = match[1:len(match)-1], strings.TrimSpace(msg[len(match):])
|
||||
|
||||
Reference in New Issue
Block a user