From 296c30c5b779aa04f97a562c480f84831459ee37 Mon Sep 17 00:00:00 2001 From: Alexander Staubo Date: Mon, 12 Nov 2018 19:13:54 -0500 Subject: [PATCH] Remove obsolete comment. --- mockery/parse.go | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/mockery/parse.go b/mockery/parse.go index dee9f6e0..466389c1 100644 --- a/mockery/parse.go +++ b/mockery/parse.go @@ -72,19 +72,6 @@ func (p *Parser) Parse(path string) error { continue } - // If go/build would ignore this file, e.g. based on build tags, also ignore it here. - // - // (Further coupling with go internals and x/tools may of course bear a cost eventually - // e.g. https://github.com/vektra/mockery/pull/117#issue-199337071, but should add - // worthwhile consistency in this tool's behavior in the meantime.) - // match, matchErr := p.conf.Build.MatchFile(dir, fname) - // if matchErr != nil { - // return matchErr - // } - // if !match { - // continue - // } - pkgs, err := packages.Load(&p.conf, "file="+fpath) if err != nil { return err