Fix multiple replace asset bug #11224
Annotations
10 errors and 1 warning
Run RuboCop:
app/models/concerns/edition/publishing.rb#L42
Rails/Blank: Use `if previous_edition.blank?` instead of `unless previous_edition.present?`.
|
Run RuboCop:
app/models/concerns/edition/publishing.rb#L44
Style/RedundantSelf: Redundant `self` detected. (https://rubystyle.guide#no-self-unless-required)
|
Run RuboCop:
app/services/edition_auth_bypass_updater.rb#L12
Rails/SaveBang: Use `save!` instead of `save` if the return value is not checked. (https://rails.rubystyle.guide#save-bang)
|
Run RuboCop:
test/unit/app/helpers/admin/admin_govspeak_helper_test.rb#L77
Rails/SaveBang: Use `save!` instead of `save` if the return value is not checked. (https://rails.rubystyle.guide#save-bang)
|
Run RuboCop:
test/unit/app/helpers/govspeak_helper_link_rewriting_test.rb#L102
Rails/SaveBang: Use `save!` instead of `save` if the return value is not checked. (https://rails.rubystyle.guide#save-bang)
|
Run RuboCop:
test/unit/app/helpers/govspeak_helper_link_rewriting_test.rb#L113
Rails/SaveBang: Use `save!` instead of `save` if the return value is not checked. (https://rails.rubystyle.guide#save-bang)
|
Run RuboCop:
test/unit/app/models/edition/workflow_test.rb#L102
Rails/SaveBang: Use `save!` instead of `save` if the return value is not checked. (https://rails.rubystyle.guide#save-bang)
|
Run RuboCop:
test/unit/app/models/edition/workflow_test.rb#L110
Rails/SaveBang: Use `save!` instead of `save` if the return value is not checked. (https://rails.rubystyle.guide#save-bang)
|
Run RuboCop:
test/unit/app/models/edition/workflow_test.rb#L118
Rails/SaveBang: Use `save!` instead of `save` if the return value is not checked. (https://rails.rubystyle.guide#save-bang)
|
Run RuboCop:
test/unit/app/models/edition/workflow_test.rb#L121
Rails/SaveBang: Use `save!` instead of `save` if the return value is not checked. (https://rails.rubystyle.guide#save-bang)
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading