Skip to content

Commit

Permalink
Update JSONReporter.hx
Browse files Browse the repository at this point in the history
Fix array initialization
  • Loading branch information
4emodan authored and AlexHaxe committed Sep 27, 2022
1 parent 119223c commit b230ebf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/checkstyle/reporter/JSONReporter.hx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import checkstyle.Message.MessageLocation;
import haxe.Json;

class JSONReporter extends BaseReporter {
var files:Array<String>;
var files:Array<String> = [];

override public function start() {
super.start();
Expand Down Expand Up @@ -82,4 +82,4 @@ typedef FileReport = {
var messages:Array<ReportMessage>;
};

typedef GlobalReport = Array<FileReport>;
typedef GlobalReport = Array<FileReport>;

0 comments on commit b230ebf

Please sign in to comment.