Commit 52eba2bb authored by ale's avatar ale

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

parents bbc09df4 8ca8cc1f
Pipeline #1934 passed with stage
in 25 seconds
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment