bin/cap in le1t0-capistrano-2.5.18.013 vs bin/cap in le1t0-capistrano-2.5.18.014
- old
+ new
@@ -1,7 +1,9 @@
#!/usr/bin/env ruby
require 'capistrano/cli'
-require 'capistrano/cli/tee_io'
-TeeIO.tee_all
-TeeIO.tee_all_off
+if ARGV.any? { |arg| [ "deploy", "deploy:migrations" ].include?(arg) }
+ require 'capistrano/cli/tee_io'
+ TeeIO.tee_all
+ TeeIO.tee_all_off
+end
Capistrano::CLI.execute