[#7875] Fix attachment processing #2620
Annotations
6 warnings
build:
app/controllers/attachment_masks_controller.rb#L41
[rubocop] reported by reviewdog 🐶
Lint/SuppressedException: Do not suppress exceptions. (https://rubystyle.guide#dont-hide-exceptions)
Raw Output:
app/controllers/attachment_masks_controller.rb:41:3: W: Lint/SuppressedException: Do not suppress exceptions. (https://rubystyle.guide#dont-hide-exceptions)
rescue ActiveRecord::RecordNotFound
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
build:
spec/models/foi_attachment_spec.rb#L120
[rubocop] reported by reviewdog 🐶
[Correctable] Layout/FirstArrayElementIndentation: Use 2 spaces for indentation in an array, relative to the first position after the preceding left parenthesis.
Raw Output:
spec/models/foi_attachment_spec.rb:120:11: C: [Correctable] Layout/FirstArrayElementIndentation: Use 2 spaces for indentation in an array, relative to the first position after the preceding left parenthesis.
[:body_text, :unmasked]
^^^^^^^^^^^^^^^^^^^^^^^
|
build:
spec/models/foi_attachment_spec.rb#L121
[rubocop] reported by reviewdog 🐶
[Correctable] Layout/FirstArrayElementIndentation: Indent the right bracket the same as the first position after the preceding left parenthesis.
Raw Output:
spec/models/foi_attachment_spec.rb:121:9: C: [Correctable] Layout/FirstArrayElementIndentation: Indent the right bracket the same as the first position after the preceding left parenthesis.
])
^
|
build:
spec/models/foi_attachment_spec.rb#L140
[rubocop] reported by reviewdog 🐶
[Correctable] Layout/FirstArrayElementIndentation: Use 2 spaces for indentation in an array, relative to the first position after the preceding left parenthesis.
Raw Output:
spec/models/foi_attachment_spec.rb:140:11: C: [Correctable] Layout/FirstArrayElementIndentation: Use 2 spaces for indentation in an array, relative to the first position after the preceding left parenthesis.
[:body_text, :unmasked]
^^^^^^^^^^^^^^^^^^^^^^^
|
build:
spec/models/foi_attachment_spec.rb#L141
[rubocop] reported by reviewdog 🐶
[Correctable] Layout/FirstArrayElementIndentation: Indent the right bracket the same as the first position after the preceding left parenthesis.
Raw Output:
spec/models/foi_attachment_spec.rb:141:9: C: [Correctable] Layout/FirstArrayElementIndentation: Indent the right bracket the same as the first position after the preceding left parenthesis.
])
^
|
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|