This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new 47412639 Redundant raise (done in system!)
47412639 is described below

commit 474126393b73c9011a386541561003f9e6060003
Author: Sebb <[email protected]>
AuthorDate: Fri Jul 5 22:31:01 2024 +0100

    Redundant raise (done in system!)
---
 Rakefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Rakefile b/Rakefile
index 5e44b811..35b48c10 100644
--- a/Rakefile
+++ b/Rakefile
@@ -76,7 +76,7 @@ task :update, [:command] do |_task, args|
         ].join("\n")
         File.write "Gemfile", contents
         puts "* Preloading gems..."
-        system!('bundle', 'install') or raise "Bundler failed"
+        system!('bundle', 'install')
         puts "* ... done"
       end
     end
@@ -97,7 +97,7 @@ task :update, [:command] do |_task, args|
 
       bundler = 'bundle' unless File.exist?(bundler)
       puts "* Processing #{gemfile}"
-      system!(bundler, args.command || 'update') or raise "Bundler failed"
+      system!(bundler, args.command || 'update')
 
       # if new gems were installed and this directory contains a passenger
       #  application, restart it

Reply via email to