Skip to content

add SHYNESS_ALLOWED_DOMAINS #2

add SHYNESS_ALLOWED_DOMAINS

add SHYNESS_ALLOWED_DOMAINS #2

Triggered via push October 17, 2024 12:50
Status Failure
Total duration 2m 24s
Artifacts

lint-ruby.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

6 errors
lint: app/services/activitypub/process_account_service.rb#L14
Metrics/CyclomaticComplexity: Cyclomatic complexity for call is too high. [27/25]
lint: app/services/activitypub/process_account_service.rb#L36
[Correctable] Style/IfUnlessModifier: Favor modifier if usage when having a single-line body. Another good alternative is the usage of control flow &&/||. (https://rubystyle.guide#if-as-a-modifier)
lint: app/services/activitypub/process_account_service.rb#L36
[Correctable] Style/NegatedIf: Favor unless over if for negative conditions. (https://rubystyle.guide#unless-for-negatives)
lint: app/services/activitypub/process_account_service.rb#L36
[Correctable] Style/SoleNestedConditional: Consider merging nested conditions into outer if conditions.
lint: app/services/activitypub/process_account_service.rb#L36
[Correctable] Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols. (https://rubystyle.guide#consistent-string-literals)
lint
Process completed with exit code 1.