diff --git a/lib/tapioca/commands/dsl.rb b/lib/tapioca/commands/dsl.rb index 6af5b7ce5e..bb53953fef 100644 --- a/lib/tapioca/commands/dsl.rb +++ b/lib/tapioca/commands/dsl.rb @@ -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) }