mirror of
https://github.com/beego/bee.git
synced 2024-11-05 11:50:55 +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
|
||||
}
|
||||
orgContent := GetFilterContent(string(org),seg)
|
||||
newContent := GetFilterContent(string(org),string(new))
|
||||
newContent := GetFilterContent(string(new),seg)
|
||||
orgMd5 := md5.Sum([]byte(orgContent))
|
||||
newMd5:= md5.Sum([]byte(newContent))
|
||||
if orgMd5 != newMd5 {
|
||||
|
Loading…
Reference in New Issue
Block a user