Skip to content

Commit

Permalink
Silence Ameba issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Sija committed Jun 16, 2024
1 parent f2766b8 commit a0cbdfa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ext/kemal_gphoto2.cr
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ def send_file(env, file : GPhoto2::CameraFile, *, mime_type : String? = nil, dis
end
end

# ameba:disable Metrics/CyclomaticComplexity
def send_file(env, file : GPhoto2::CameraFile, *, format : ImageOutputFormat, width : Int? = nil, height : Int? = nil, disposition = nil)
if format.auto?
format =
Expand Down

0 comments on commit a0cbdfa

Please sign in to comment.