File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ def get_file(file_name)
7474 end
7575 end
7676
77- # Get all occurrencs of the violation's constant in a file
77+ # Get all occurrences of the violation's constant in a file
7878 sig { params ( file_name : String , class_name : String ) . returns ( T ::Array [ RuboCop ::AST ::Node ] ) }
7979 def get_all_const_occurrences ( file_name :, class_name :)
8080 const_key = [ file_name , class_name ]
Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ def sources_with_locations
159159 end
160160
161161 # Instead of getting all instances of the source, count how often each occurs, with the option to
162- # provide a threshold to remove lower-occuring items.
162+ # provide a threshold to remove lower-occurring items.
163163 sig { params ( threshold : Integer ) . returns ( T ::Hash [ String , T ::Hash [ String , Integer ] ] ) }
164164 def source_counts ( threshold : 0 )
165165 load_sources!
You can’t perform that action at this time.
0 commit comments