Skip to content

Commit

Permalink
Make description optional as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerry Xie committed Dec 8, 2016
1 parent ca09b8b commit 16c189e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -79,7 +79,7 @@ public static LintResult fromJsonObject(JSONObject json) {
String path = (String) json.get("path");
Integer line = (Integer) json.opt("line");
Integer charPosition = (Integer) json.opt("char");
String description = (String) json.get("description");
String description = (String) json.opt("description");

return new LintResult(name, code, severity, path, line, charPosition, description);
}
Expand Down

0 comments on commit 16c189e

Please sign in to comment.