Skip to content

chore(shard.lock): bump models #1120

chore(shard.lock): bump models

chore(shard.lock): bump models #1120

GitHub Actions / Ameba failed Dec 22, 2023 in 1s

Crystal Ameba Results

Total files checked: 98
Issues found: 2

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 }
          ^

Check warning on line 114 in src/placeos-rest-api/controllers/chat_gpt/chat_manager.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Lint/UnneededDisableDirective

Unnecessary disabling of Metrics/CyclomaticComplexity
Raw output
> # ameba:disable Metrics/CyclomaticComplexity
  ^