mirror of
https://github.com/beego/bee.git
synced 2025-02-22 04:17:16 +00:00
Repair parameters
This commit is contained in:
parent
3909cd7273
commit
ff7108bb7a
@ -194,7 +194,7 @@ func FileContentChange(org,new []byte, seg string) bool {
|
|||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
orgContent := GetFilterContent(string(org),seg)
|
orgContent := GetFilterContent(string(org),seg)
|
||||||
newContent := GetFilterContent(string(org),string(new))
|
newContent := GetFilterContent(string(new),seg)
|
||||||
orgMd5 := md5.Sum([]byte(orgContent))
|
orgMd5 := md5.Sum([]byte(orgContent))
|
||||||
newMd5:= md5.Sum([]byte(newContent))
|
newMd5:= md5.Sum([]byte(newContent))
|
||||||
if orgMd5 != newMd5 {
|
if orgMd5 != newMd5 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user