Skip to content

Commit

Permalink
Consider new fields from hh_client --json --lint output as backward…
Browse files Browse the repository at this point in the history
… compatible (#501)
  • Loading branch information
Atry authored Aug 8, 2022
1 parent d0a746a commit dee869d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Linters/HHClientLintError.hack
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ final class HHClientLintError implements LintError {
'bypass_changed_lines' => bool,
'original' => string,
'replacement' => string,
...
);

public function __construct(
Expand Down
1 change: 1 addition & 0 deletions src/Linters/HHClientLinter.hack
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ final class HHClientLinter implements Linter {
const type TJSONResult = shape(
'errors' => vec<HHClientLintError::TJSONError>,
'version' => string,
...
);

private static function blameCode(
Expand Down

0 comments on commit dee869d

Please sign in to comment.