Permalink
Browse files

fix typo

  • Loading branch information...
1 parent 0aa3653 commit c6862e5988686eec037f1d1e5dfdc53bf7759ce7 @daviddengcn committed Oct 18, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 pipelines/crawler/package.go
@@ -179,7 +179,7 @@ func (pc *PackageCrawler) Map(key, val sophie.SophieWriter, c []sophie.Collector
if spider.LikeGoSubFolder(fld.Name) {
newPkg := pkg + "/" + fld.Name
site, path := utils.SplitPackage(newPkg)
- if info, _ := store.ReadPackageHistory(site, path), len(info.GetEvents()) == 0 {
+ if info, _ := store.ReadPackageHistory(site, path); len(info.GetEvents()) == 0 {
// appendNewPackage only if the new package has no history.
appendNewPackage(newPkg, "parent")
}

0 comments on commit c6862e5

Please sign in to comment.