Skip to content
GitHub Actions / Ameba failed Feb 21, 2024 in 1s

Crystal Ameba Results

Total files checked: 106
Issues found: 7

Ameba Version: 1.4.3
Crystal Version: 1.7.0

Annotations

Check warning on line 29 in src/placeos-models/survey/invitation.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Lint/DebugCalls

Possibly forgotten debug-related `pp` call detected
Raw output
> pp "================================================================================"
  ^

Check warning on line 30 in src/placeos-models/survey/invitation.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Lint/DebugCalls

Possibly forgotten debug-related `pp` call detected
Raw output
> pp query.to_sql
  ^

Check warning on line 31 in src/placeos-models/survey/invitation.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Lint/DebugCalls

Possibly forgotten debug-related `pp` call detected
Raw output
> pp "================================================================================"
  ^

Check warning on line 41 in spec/survey_invitation_spec.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Lint/SpecFocus

Focused spec item detected
Raw output
> it "lists invitations with sent != true", focus: true do
                                            ^

Check warning on line 33 in spec/survey_invitation_spec.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Lint/UselessAssign

Useless assignment to variable `invitation_two`
Raw output
> invitation_two = Generator.invitation(sent: false).save!
  ^

Check warning on line 34 in spec/survey_invitation_spec.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Lint/UselessAssign

Useless assignment to variable `invitation_three`
Raw output
> invitation_three = Generator.invitation(sent: nil).save!
  ^

Check warning on line 42 in spec/survey_invitation_spec.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Lint/UselessAssign

Useless assignment to variable `invitation_one`
Raw output
> invitation_one = Generator.invitation(sent: true).save!
  ^