From a561ed938d994da750cf9100f4028f6929864a7f Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Tue, 5 Dec 2023 12:03:40 +0900 Subject: [PATCH] Removed needless assignment --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 1292d040..17c06073 100644 --- a/Rakefile +++ b/Rakefile @@ -26,7 +26,7 @@ which = lambda { |c| MAKE = ENV['MAKE'] || %w[gmake make].find(&which) BUNDLE = ENV['BUNDLE'] || %w[bundle].find(&which) -PKG_VERSION = version = File.foreach(File.join(__dir__, "lib/json/version.rb")) do |line| +PKG_VERSION = File.foreach(File.join(__dir__, "lib/json/version.rb")) do |line| /^\s*VERSION\s*=\s*'(.*)'/ =~ line and break $1 end rescue nil