mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
Fix typo in default_io_proc so it correctly checks the stream parameter to see if it is the error stream
git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@5332 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
33ff97c060
commit
86ec7f6fe6
2 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
|||
*SVN*
|
||||
|
||||
* Fix typo in default_io_proc so it correctly checks the stream parameter to see if it is the error stream [Stephen Haberman]
|
||||
|
||||
* Make sure assets in images, javascripts, and stylesheets are touched after updating the code, to ensure the asset timestamping feature of rails works correctly [Jamis Buck]
|
||||
|
||||
* Added warning if password is prompted for and termios is not installed [John Labovitz]
|
||||
|
|
|
@ -38,7 +38,7 @@ module Capistrano
|
|||
self.transfer_factory = Transfer
|
||||
|
||||
self.default_io_proc = Proc.new do |ch, stream, out|
|
||||
level = out == :error ? :important : :info
|
||||
level = stream == :error ? :important : :info
|
||||
ch[:actor].logger.send(level, out, "#{stream} :: #{ch[:host]}")
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue