1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-23 09:30:50 +00:00

Merge pull request #933 from rbastic/develop

Reword message about reloading packages..
This commit is contained in:
astaxie 2014-11-24 13:18:05 +08:00
commit f2df07f630

View File

@ -57,7 +57,7 @@ func parserPkg(pkgRealpath, pkgpath string) error {
rep := strings.NewReplacer("/", "_", ".", "_") rep := strings.NewReplacer("/", "_", ".", "_")
commentFilename = COMMENTFL + rep.Replace(pkgpath) + ".go" commentFilename = COMMENTFL + rep.Replace(pkgpath) + ".go"
if !compareFile(pkgRealpath) { if !compareFile(pkgRealpath) {
Info(pkgRealpath + " don't has updated") Info(pkgRealpath + " has not changed, not reloading")
return nil return nil
} }
genInfoList = make(map[string][]ControllerComments) genInfoList = make(map[string][]ControllerComments)