We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 915369f commit 23bdc2aCopy full SHA for 23bdc2a
core/main/autorun_engine/rule_loader.rb
@@ -202,7 +202,7 @@ def update_rule_json(id, data)
202
# @param [String] JSON ARE ruleset file path
203
def load_rule_file(json_rule_path)
204
rule_file = File.open(json_rule_path, 'r:UTF-8', &:read)
205
- self.load_rule_json(JSON.parse(rule_file))
+ load_rule_json(JSON.parse(rule_file))
206
rescue => e
207
print_error("[ARE] Failed to load ruleset from #{json_rule_path}: #{e.message}")
208
end
0 commit comments