lib/cc/cli/file_store.rb in codeclimate-0.85.29 vs lib/cc/cli/file_store.rb in codeclimate-0.86.0

- old
+ new

@@ -29,10 +29,10 @@ def load_data @data = if File.exist? self.class::FILE_NAME File.open(self.class::FILE_NAME, "r:bom|utf-8") do |f| - YAML.safe_load(f, [Time], [], false, self.class::FILE_NAME) || {} + YAML.safe_load(f, permitted_classes: [Time], permitted_symbols: [], aliases: false, filename: self.class::FILE_NAME) || {} end else {} end end