mirror of https://github.com/astaxie/beego.git
parse for github.com replace the . to _
This commit is contained in:
parent
8b747f54bc
commit
9d4ec508bb
|
@ -53,7 +53,8 @@ func init() {
|
|||
}
|
||||
|
||||
func parserPkg(pkgRealpath, pkgpath string) error {
|
||||
commentFilename = strings.Replace(pkgpath, "/", "_", -1) + "_" + commentFilename
|
||||
rep := strings.NewReplacer("/", "_", ".", "_")
|
||||
commentFilename = rep.Replace(pkgpath) + "_" + commentFilename
|
||||
if !compareFile(pkgRealpath) {
|
||||
Info(pkgRealpath + " don't has updated")
|
||||
return nil
|
||||
|
|
Loading…
Reference in New Issue