Skip to content

Commit

Permalink
Rubocop: resolve Style/RedundantParentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
orien committed Jan 18, 2024
1 parent 3668b58 commit 181b7c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/unwrappr/gem_change.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ def initialize(
def_delegators :@lock_file_diff, :filename, :sha

def added?
(head_version && base_version.nil?)
head_version && base_version.nil?
end

def removed?
(base_version && head_version.nil?)
base_version && head_version.nil?
end

def major?
Expand Down

0 comments on commit 181b7c5

Please sign in to comment.