Skip to content

Commit eb5fb5f

Browse files
authored
Update code_teams.rb
1 parent 9b0d142 commit eb5fb5f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/code_teams.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ def self.from_hash(raw_hash)
9797
sig { void }
9898
def self.register_plugins
9999
Plugin.all_plugins.each do |plugin|
100+
# e.g. def github (on Team)
100101
define_method(plugin.data_accessor_name) do
101102
# e.g., MyGithubPlugin.for(team).github
102103
plugin.for(self).public_send(plugin.data_accessor_name)

0 commit comments

Comments
 (0)