Crystal Ameba Results
Total files checked: 47
Issues found: 6
Ameba Version: 1.4.3
Crystal Version: 1.7.0
Annotations
Check warning on line 469 in spec/controllers/events_spec.cr
github-actions / Ameba
Lint/UselessAssign
Useless assignment to variable `ending`
Raw output
> ending = 90.minutes.from_now.to_unix
^
Check warning on line 517 in spec/controllers/events_spec.cr
github-actions / Ameba
Lint/UselessAssign
Useless assignment to variable `ending`
Raw output
> ending = 90.minutes.from_now.to_unix
^
Check warning on line 2240 in spec/controllers/bookings_spec.cr
github-actions / Ameba
Lint/UselessAssign
Useless assignment to variable `tenant`
Raw output
> tenant = get_tenant
^
Check warning on line 2263 in spec/controllers/bookings_spec.cr
github-actions / Ameba
Lint/UselessAssign
Useless assignment to variable `guest_id`
Raw output
> guest_id = JSON.parse(guest_response.body)["id"]
^
Check warning on line 2274 in spec/controllers/bookings_spec.cr
github-actions / Ameba
Lint/UselessAssign
Useless assignment to variable `update_response`
Raw output
> update_response = client.patch("#{BOOKINGS_BASE}/#{booking.id}", headers: headers, body: booking.to_json)
^
Check warning on line 1 in src/controllers/events.cr
github-actions / Ameba
Lint/Formatting
Use built-in formatter to format this source
Raw output
> class Events < Application
^