Skip to content

Commit a561ed9

Browse files
committed
Removed needless assignment
1 parent ed59dbb commit a561ed9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ which = lambda { |c|
2626
MAKE = ENV['MAKE'] || %w[gmake make].find(&which)
2727
BUNDLE = ENV['BUNDLE'] || %w[bundle].find(&which)
2828

29-
PKG_VERSION = version = File.foreach(File.join(__dir__, "lib/json/version.rb")) do |line|
29+
PKG_VERSION = File.foreach(File.join(__dir__, "lib/json/version.rb")) do |line|
3030
/^\s*VERSION\s*=\s*'(.*)'/ =~ line and break $1
3131
end rescue nil
3232

0 commit comments

Comments
 (0)