9d4ec508 by astaxie

parse for github.com replace the . to _

1 parent 8b747f54
......@@ -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
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!