beego: autoroute

This commit is contained in:
astaxie 2014-06-23 15:52:30 +08:00
parent 90f91b10c5
commit 9c5348f690
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ func compareFile(pkgRealpath string) bool {
return true
}
if v, ok := pkgLastupdate[pkgRealpath]; ok {
if ft.ModTime().UnixNano() >= v {
if ft.ModTime().UnixNano() <= v {
return false
}
}