Skip to content

fix(logging): PPT-1368 - logging to use placeos-log-backend (#381) #689

fix(logging): PPT-1368 - logging to use placeos-log-backend (#381)

fix(logging): PPT-1368 - logging to use placeos-log-backend (#381) #689

GitHub Actions / Ameba failed May 13, 2024 in 1s

Crystal Ameba Results

Total files checked: 104
Issues found: 1

Ameba Version: 1.4.3
Crystal Version: 1.7.0

Annotations

Check notice on line 61 in src/placeos-rest-api/controllers/asset_types.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Style/VerboseBlock

Use short block notation instead: `each(&.asset_count=(counts[type.id]? || 0_i64))`
Raw output
> results.each { |type| type.asset_count = counts[type.id]? || 0_i64 }
          ^