Run 'crystal tool format'

This commit is contained in:
Leeingnyo
2022-05-15 17:02:29 +09:00
parent 9f6be70995
commit 3a60286c3a
5 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -1144,9 +1144,9 @@ struct APIRouter
raise "Entry ID `#{eid}` of `#{title.title}` not found" if entry.nil?
if entry.is_a? DirectoryEntry
file_hash = Digest::SHA1.hexdigest (entry.path + entry.mtime.to_s + entry.size)
file_hash = Digest::SHA1.hexdigest(entry.path + entry.mtime.to_s + entry.size)
else
file_hash = Digest::SHA1.hexdigest (entry.path + entry.mtime.to_s)
file_hash = Digest::SHA1.hexdigest(entry.path + entry.mtime.to_s)
end
e_tag = "W/#{file_hash}"
if e_tag == prev_e_tag