Skip to content

Commit

Permalink
Try patch to fix rubo_cop RBI file names
Browse files Browse the repository at this point in the history
  • Loading branch information
sambostock committed Oct 28, 2022
1 parent 54a3c68 commit 58bf390
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/tapioca/commands/dsl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,8 @@ def underscore(class_name)

sig { params(constant: String).returns(String) }
def rbi_filename_for(constant)
underscore(constant) + ".rbi"
# TODO: Figure out a better way than this.
underscore(constant).gsub("rubo_cop", "rubocop") + ".rbi"
end

sig { params(constant: String).returns(String) }
Expand Down

0 comments on commit 58bf390

Please sign in to comment.