summaryrefslogtreecommitdiffstats
path: root/resources/page/page_matcher.go
diff options
context:
space:
mode:
Diffstat (limited to 'resources/page/page_matcher.go')
-rw-r--r--resources/page/page_matcher.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/resources/page/page_matcher.go b/resources/page/page_matcher.go
index 881f76e33..7d3db373b 100644
--- a/resources/page/page_matcher.go
+++ b/resources/page/page_matcher.go
@@ -41,7 +41,6 @@ type PageMatcher struct {
// Matches returns whether p matches this matcher.
func (m PageMatcher) Matches(p Page) bool {
-
if m.Kind != "" {
g, err := glob.GetGlob(m.Kind)
if err == nil && !g.Match(p.Kind()) {
@@ -87,5 +86,4 @@ func DecodePageMatcher(m interface{}, v *PageMatcher) error {
v.Path = filepath.ToSlash(strings.ToLower(v.Path))
return nil
-
}