Commit d346525c authored by Joshua Kalpin's avatar Joshua Kalpin

Fix rubocop issues within the Rakefile

parent d595fabe
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
#-----------------------------------------------------------------------------# #-----------------------------------------------------------------------------#
desc "Initializes your working copy to run the specs" desc "Initializes your working copy to run the specs"
task :bootstrap, :use_bundle_dir? do |t, args| task :bootstrap, :use_bundle_dir? do |_, args|
title "Environment bootstrap" title "Environment bootstrap"
puts "Updating submodules" puts "Updating submodules"
...@@ -113,7 +113,7 @@ begin ...@@ -113,7 +113,7 @@ begin
desc "Run the integration spec" desc "Run the integration spec"
task :integration do task :integration do
unless File.exists?('spec/cocoapods-integration-specs') unless File.exist?('spec/cocoapods-integration-specs')
$stderr.puts red("Integration files not checked out. Run `rake bootstrap`") $stderr.puts red("Integration files not checked out. Run `rake bootstrap`")
exit 1 exit 1
end end
...@@ -301,4 +301,3 @@ end ...@@ -301,4 +301,3 @@ end
def red(string) def red(string)
"\033[0;31m#{string}\e[0m" "\033[0;31m#{string}\e[0m"
end end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment