mirror of
https://github.com/astaxie/beego.git
synced 2024-11-25 19:50:55 +00:00
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
Block a user