move document data from document plugin to active storage #612
Annotations
7 errors and 2 warnings
Run RuboCop:
plugins/documents/app/controllers/documents_controller.rb#L30
Style/NegatedIf: Favor `unless` over `if` for negative conditions.
|
Run RuboCop:
plugins/documents/app/controllers/documents_controller.rb#L31
Style/SoleNestedConditional: Consider merging nested conditions into outer `if` conditions.
|
Run RuboCop:
plugins/documents/app/controllers/documents_controller.rb#L37
Style/PreferredHashMethods: Use `Hash#key?` instead of `Hash#has_key?`.
|
Run RuboCop:
plugins/documents/app/controllers/documents_controller.rb#L78
Layout/EmptyLinesAroundClassBody: Extra empty line detected at class body end.
|
Run RuboCop:
plugins/documents/app/models/document.rb#L18
Style/AndOr: Use `||` instead of `or`.
|
Run RuboCop:
plugins/documents/app/models/document.rb#L46
Layout/EmptyLinesAroundClassBody: Extra empty line detected at class body end.
|
Run RuboCop
Process completed with exit code 1.
|
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/.
|
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/
|
Loading