Skip to content

Commit

Permalink
Correct gem_version impl
Browse files Browse the repository at this point in the history
  • Loading branch information
mpalmer committed Sep 22, 2023
1 parent 478cc1c commit 455e914
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/git-version-bump.rb
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def self.caller_gemspec
private_class_method :caller_gemspec

def self.gem_version
return "" if caller_gemspec.nil?
return nil if caller_gemspec.nil?

caller_gemspec.version.to_s
end
Expand Down

0 comments on commit 455e914

Please sign in to comment.