Skip to content

Remove file that is not in use [skip changelog]#10991

Merged
eileen-nava merged 2 commits intomainfrom
rspec-league/remove-unused-file
Jul 26, 2024
Merged

Remove file that is not in use [skip changelog]#10991
eileen-nava merged 2 commits intomainfrom
rspec-league/remove-unused-file

Conversation

@eileen-nava
Copy link
Copy Markdown
Contributor

Today during rspec league, we were looking at adding test coverage for files that have no test coverage. Then we found that this file isn't in use anywhere. Consequently, we decided to delete it. Fin.

@n1zyy
Copy link
Copy Markdown
Contributor

n1zyy commented Jul 26, 2024

For posterity, @vrajmohan found that the file that used this was seemingly removed in e9290e3 which adds further confidence for me that we can safely remove this.

@@ -1,8 +0,0 @@
# frozen_string_literal: true

class MultipleMfaOptionsValidator < ActiveModel::EachValidator
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think this became unused in #9788 when PhoneDeletionForm was removed

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Great minds (you and Vraj) think alike! 😜

@zachmargolis
Copy link
Copy Markdown
Contributor

For posterity, @vrajmohan found that the file that used this was seemingly removed in e9290e3 which adds further confidence for me that we can safely remove this.

jinx!

Copy link
Copy Markdown
Contributor

@n1zyy n1zyy left a comment

Choose a reason for hiding this comment

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

Assuming tests pass, :shipit: -- thanks for running with this!

@eileen-nava eileen-nava merged commit 0678de4 into main Jul 26, 2024
@eileen-nava eileen-nava deleted the rspec-league/remove-unused-file branch July 26, 2024 20:41
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.

3 participants