Remove extra dot between [] from ambea copy-pasting.

This commit is contained in:
syeopite
2021-09-26 14:34:05 -07:00
parent 88ad7c8d8d
commit 575c66efd3
2 changed files with 2 additions and 2 deletions

View File

@@ -173,7 +173,7 @@ module Kemal
return
end
if @cached_files.sum(&.[1].[:data].bytesize) + (size = File.size(file_path)) < CACHE_LIMIT
if @cached_files.sum(&.[1][:data].bytesize) + (size = File.size(file_path)) < CACHE_LIMIT
data = Bytes.new(size)
File.open(file_path) do |file|
file.read(data)