Skip to content

Commit

Permalink
Remove obsolete comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
atombender committed Nov 13, 2018
1 parent 985bc95 commit 296c30c
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions mockery/parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 296c30c

Please sign in to comment.