diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2017-08-03 17:45:23 -0400 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2017-08-03 17:45:40 -0400 |
commit | f7d0bd657f5003ceede4c7e6322cb0f013db06a8 (patch) | |
tree | d670f7461fac550b63144f5a12f629c8bbaf6edb /tasks | |
parent | 23b07019aec2c0341af13aac17a4848738c1f836 (diff) | |
download | rails-f7d0bd657f5003ceede4c7e6322cb0f013db06a8.tar.gz rails-f7d0bd657f5003ceede4c7e6322cb0f013db06a8.tar.bz2 rails-f7d0bd657f5003ceede4c7e6322cb0f013db06a8.zip |
Fix all rubocop violations
Diffstat (limited to 'tasks')
-rw-r--r-- | tasks/release.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/release.rb b/tasks/release.rb index b3bbbb0076..d0c93da187 100644 --- a/tasks/release.rb +++ b/tasks/release.rb @@ -234,7 +234,7 @@ task :announce do versions = ENV["VERSIONS"] ? ENV["VERSIONS"].split(",") : [ version ] versions = versions.sort.map { |v| Announcement::Version.new(v) } - raise "Only valid for patch releases" if versions.any?(&:major_or_security?) + raise "Only valid for patch releases" if versions.any?(&:major_or_security?) if versions.any?(&:rc?) require "date" |