mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-12-03 20:27:46 +08:00
commit
bf6a63f5b1
@ -119,7 +119,8 @@ func convert(in map[string]string) []*Rewrite {
|
|||||||
}
|
}
|
||||||
rewrite := m[sli[0]]
|
rewrite := m[sli[0]]
|
||||||
if rewrite == nil {
|
if rewrite == nil {
|
||||||
m[k] = &Rewrite{}
|
rewrite = &Rewrite{}
|
||||||
|
m[sli[0]] = rewrite
|
||||||
}
|
}
|
||||||
switch sli[1] {
|
switch sli[1] {
|
||||||
case "regex":
|
case "regex":
|
||||||
|
Loading…
Reference in New Issue
Block a user