aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmd/crawl/crawl.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/crawl/crawl.go b/cmd/crawl/crawl.go
index d0ff268..d5e012a 100644
--- a/cmd/crawl/crawl.go
+++ b/cmd/crawl/crawl.go
@@ -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)