Skip to content
Snippets Groups Projects
Commit 52eba2bb authored by ale's avatar ale
Browse files

Merge branch 'master' of git.autistici.org:ale/crawl

parents bbc09df4 8ca8cc1f
No related branches found
No related tags found
No related merge requests found
......@@ -268,7 +268,7 @@ func main() {
crawl.NewRegexpIgnoreScope(excludes),
)
if !*excludeRelated {
scope = crawl.OR(scope, crawl.NewIncludeRelatedScope())
scope = crawl.AND(crawl.OR(scope, crawl.NewIncludeRelatedScope()), crawl.NewRegexpIgnoreScope(excludes))
}
outf, err := os.Create(*outputFile)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment