Skip to content

move document data from document plugin to active storage #612

move document data from document plugin to active storage

move document data from document plugin to active storage #612

Triggered via pull request March 5, 2024 12:39
Status Failure
Total duration 3m 52s
Artifacts

rubocop.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 2 warnings
test: plugins/documents/app/controllers/documents_controller.rb#L30
Style/NegatedIf: Favor `unless` over `if` for negative conditions.
test: plugins/documents/app/controllers/documents_controller.rb#L31
Style/SoleNestedConditional: Consider merging nested conditions into outer `if` conditions.
test: plugins/documents/app/controllers/documents_controller.rb#L37
Style/PreferredHashMethods: Use `Hash#key?` instead of `Hash#has_key?`.
test: plugins/documents/app/controllers/documents_controller.rb#L78
Layout/EmptyLinesAroundClassBody: Extra empty line detected at class body end.
test: plugins/documents/app/models/document.rb#L18
Style/AndOr: Use `||` instead of `or`.
test: plugins/documents/app/models/document.rb#L46
Layout/EmptyLinesAroundClassBody: Extra empty line detected at class body end.
test
Process completed with exit code 1.
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test
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/