hhvm / hhast

Mutable AST library for Hack with linting and code migrations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[ Regression ] Mismatched configuration for a linter should fail the lint run

lexidor opened this issue · comments

Repro:

Configure a linterConfig with an incorrect type (pass a string where an int is expected or alike). Run hhast-lint. Observe the lint run completing as normal. Expected result, exception bubbles up to the EntryPoint:

throw new \Exception(

Let me investigate why the exception is suppressed

Fixed in #412