Commit 8ca8cc1f authored by ale's avatar ale

Apply --excludes to related resources too

parent 59f3725f
Pipeline #1773 passed with stage
in 22 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