Skip to content

Commit

Permalink
Disable Style/ClassEqualityComparison
Browse files Browse the repository at this point in the history
  • Loading branch information
ydah committed Nov 22, 2022
1 parent 6ff54b1 commit cf1fceb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/danger/danger_core/plugins/dangerfile_git_plugin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def self.instance_name

def initialize(dangerfile)
super(dangerfile)
raise unless dangerfile.env.scm.instance_of?(Danger::GitRepo)
raise unless dangerfile.env.scm.class == Danger::GitRepo # rubocop:disable Style/ClassEqualityComparison

@git = dangerfile.env.scm
end
Expand Down

0 comments on commit cf1fceb

Please sign in to comment.