Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* [now-go] Ignore folders in `analyze.go` (#503)(#504) This commit adds some changes to the way the AST for the source is built. The `analyze.go` program now ignores every `vendor`, `.git` and `testdata` folder. This improves performance, since `vendor` and `.git` are usually large folders (#504). By ignoring `testdata`, we mimick the behaviour of `go build` and avoid failing the parsing because of invalid Go code inside of `testdata` (#503) * [now-go] Don't ignore `.git` in analyze (#506) If the user wants to ignore `.git`, he should put it into `.nowignore`
- Loading branch information