Skip to content

enhancement: Detect polymorphic associations in generator #3891

enhancement: Detect polymorphic associations in generator

enhancement: Detect polymorphic associations in generator #3891

Triggered via pull request February 7, 2025 12:07
Status Failure
Total duration 37s
Artifacts

lint.yml

on: pull_request
lint  /  ...  /  standardrb
27s
lint / runner / standardrb
lint  /  ...  /  erb-lint
9s
lint / runner / erb-lint
lint  /  check-eslint-config
2s
lint / check-eslint-config
lint  /  ...  /  eslint
0s
lint / runner / eslint
Fit to window
Zoom out
Zoom in

Annotations

1 error
lint / runner / standardrb: lib/generators/avo/resource_generator.rb#L299
[rubocop] reported by reviewdog 🐶 [Corrected] Style/ConditionalAssignment: Use the return of the conditional for variable assignment and comparison. Raw Output: lib/generators/avo/resource_generator.rb:299:13: C: [Corrected] Style/ConditionalAssignment: Use the return of the conditional for variable assignment and comparison. if field_options[:field] == "polymorphic" ... ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^