Skip to content

Commit

Permalink
correction TI
Browse files Browse the repository at this point in the history
  • Loading branch information
dedece35 committed Dec 15, 2024
1 parent 5addc79 commit ec63e6d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ private ProfileMetadata profileMetadata() {
}

private RuleMetadata loadRule(String language, String ruleKey) {
try (InputStream ruleMetadataJsonFile = ClassLoader.getSystemResourceAsStream("io/ecocode/rules/" + language + "/" + ruleKey + ".json")) {
try (InputStream ruleMetadataJsonFile = ClassLoader.getSystemResourceAsStream("org/green-code-initiative/rules/" + language + "/" + ruleKey + ".json")) {
RuleMetadata result = mapper.readValue(ruleMetadataJsonFile, RuleMetadata.class);
result.setKey(ruleKey);
return result;
Expand Down

0 comments on commit ec63e6d

Please sign in to comment.