lib/css_parser/parser.rb in css_parser-1.17.0 vs lib/css_parser/parser.rb in css_parser-1.17.1

- old
+ new

@@ -484,10 +484,10 @@ file_name = File.expand_path(file_name, opts[:base_dir]) return unless File.readable?(file_name) return unless circular_reference_check(file_name) - src = IO.read(file_name) + src = File.read(file_name) opts[:filename] = file_name if opts[:capture_offsets] opts[:base_dir] = File.dirname(file_name) add_block!(src, opts)