Author: boisvert
Date: Tue Oct 19 20:29:27 2010
New Revision: 1024401

URL: http://svn.apache.org/viewvc?rev=1024401&view=rev
Log:
Fix runner?

Modified:
    buildr/trunk/lib/buildr/run.rb

Modified: buildr/trunk/lib/buildr/run.rb
URL: 
http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/run.rb?rev=1024401&r1=1024400&r2=1024401&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/run.rb (original)
+++ buildr/trunk/lib/buildr/run.rb Tue Oct 19 20:29:27 2010
@@ -129,7 +129,11 @@ module Buildr
       end
 
       def runner?
-        @runner ||= guess_runner if project.compile.language rescue nil
+        @runner ||= begin
+          guess_runner if project.compile.language
+        rescue
+          nil
+        end
       end
 
       def run


Reply via email to