Skip to content

Add audit task for Subscriber Lists #335

Add audit task for Subscriber Lists

Add audit task for Subscriber Lists #335

Triggered via pull request August 23, 2023 11:26
Status Failure
Total duration 59s
Artifacts

ci.yml

on: pull_request
Security Analysis  /  Run Brakeman
14s
Security Analysis / Run Brakeman
Lint Ruby  /  Run RuboCop
20s
Lint Ruby / Run RuboCop
Run Pact tests  /  Verify pact tests
51s
Run Pact tests / Verify pact tests
Test Ruby
46s
Test Ruby
Fit to window
Zoom out
Zoom in

Annotations

2 errors
Lint Ruby / Run RuboCop: app/models/subscriber_list_audit.rb#L5
Rails/SaveBang: Use `find_or_create_by!` instead of `find_or_create_by` if the return value is not checked. Or check `persisted?` on model returned from `find_or_create_by`. (https://rails.rubystyle.guide#save-bang)
Lint Ruby / Run RuboCop
Process completed with exit code 1.