Skip to content

Commit

Permalink
#362 fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
ryaneberly committed Jul 22, 2017
1 parent 3d21f64 commit c1ca8d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/cflint/main/CFLintMain.java
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ else if(configObj instanceof CFLintConfig ){
return (CFLintConfig) configObj;
}
} else {
pluginInfo= ConfigUtils.unmarshalJson(new FileInputStream(configfile), CFLintPluginInfo.class);
return ConfigUtils.unmarshalJson(new FileInputStream(configfile), CFLintConfig.class);
}
CFLintConfig returnVal = new CFLintConfig();
returnVal.setRules(pluginInfo.getRules());
Expand Down

0 comments on commit c1ca8d6

Please sign in to comment.