Skip to content

ameba warning and avoid raise on nil

467e96d
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

feat(booking) [PPT-1942] include parent in json #289

ameba warning and avoid raise on nil
467e96d
Select commit
Loading
Failed to load commit list.
GitHub Actions / Ameba failed Jun 13, 2025 in 1s

Crystal Ameba Results

Total files checked: 118
Issues found: 1

Ameba Version: 1.6.4
Crystal Version: 1.14.0

Annotations

Check notice on line 682 in src/placeos-models/booking.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Style/NegatedConditionsInUnless

Avoid negated conditions in unless blocks
Raw output
> return nil unless !parent?
  ^