Skip to content

Commit

Permalink
#176 Sputnik does not support new tslint (#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
bjanczak authored and SpOOnman committed Jan 31, 2018
1 parent 56a0283 commit eae1f56
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package pl.touk.sputnik.processor.tslint;

import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.StringUtils;
Expand All @@ -17,7 +18,8 @@
@Slf4j
public class TSLintResultParser implements ExternalProcessResultParser {

private final ObjectMapper objectMapper = new ObjectMapper();
private final ObjectMapper objectMapper = new ObjectMapper()
.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);

@Override
public List<Violation> parse(String jsonViolations) {
Expand Down

0 comments on commit eae1f56

Please sign in to comment.