Skip to content

Commit

Permalink
Fix some brew typecheck homebrew/bundle cases
Browse files Browse the repository at this point in the history
- Add an RBI for a dynamically defined class
- Make `Formulary` a `module` like in Homebrew/brew
  • Loading branch information
MikeMcQuaid committed Jan 8, 2025
1 parent eecf294 commit 9df39d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions spec/bundle/commands/check_command_spec.rbi
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
class TestChecker < Bundle::Checker::Base
end
2 changes: 1 addition & 1 deletion spec/stub/formulary.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

class Formulary
module Formulary
def self.factory(name)
Formula.new(name)
end
Expand Down

0 comments on commit 9df39d7

Please sign in to comment.