Skip to content

Commit

Permalink
Fix an issue where upper-case letters in desired maintainers always c…
Browse files Browse the repository at this point in the history
…ause a diff to be generated.
  • Loading branch information
chrisgavin committed Dec 1, 2023
1 parent afbcaa4 commit 4edb7ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/entitlements/backend/github_team/provider.rb
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def diff_existing_updated_metadata(existing_group, group, base_diff)
end

existing_maintainers = existing_group.metadata_fetch_if_exists("team_maintainers")
changed_maintainers = group.metadata_fetch_if_exists("team_maintainers")
changed_maintainers = group.metadata_fetch_if_exists("team_maintainers")&.downcase
if existing_maintainers != changed_maintainers
base_diff[:metadata] ||= {}
if existing_maintainers.nil? && !changed_maintainers.nil?
Expand Down

0 comments on commit 4edb7ee

Please sign in to comment.