Skip to content

Remove unreachable reference to secure_headers gem#7157

Merged
aduth merged 2 commits intomainfrom
aduth-rm-secure-headers-ref
Oct 17, 2022
Merged

Remove unreachable reference to secure_headers gem#7157
aduth merged 2 commits intomainfrom
aduth-rm-secure-headers-ref

Conversation

@aduth
Copy link
Contributor

@aduth aduth commented Oct 17, 2022

🛠 Summary of changes

Removes unreachable code referencing the secure_headers gem which had been removed in #6234.

Reviewer note: Effectively this just removes the add_document_capture_image_urls_to_csp_with_secure_headers method, but refactoring to collapse and rename the helper module and method name caused the git diff to present it as a brand new file.

📜 Testing Plan

  • Automated tests should pass
  • Confirm no regressions in behavior of Acuant SDK

aduth added 2 commits October 17, 2022 13:04
changelog: Internal, Code Quality, Remove unreachable code
Avoid nested inline blocks, simplify diff
Copy link
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@aduth aduth merged commit a950c06 into main Oct 17, 2022
@aduth aduth deleted the aduth-rm-secure-headers-ref branch October 17, 2022 17:46
This was referenced Oct 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants