1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00

remove trace messages when loading a recipe file

git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@5776 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Jamis Buck 2006-12-24 02:09:32 +00:00
parent 89b1a46ebf
commit 3fabedf023
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,7 @@
*SVN*
* Remove trace messages when loading a file
* Cleaner error messages for authentication failures and command errors
* Added support for ~/.caprc, also -x and -c switches.

View file

@ -146,11 +146,9 @@ module Capistrano
load :string => File.read(file), :name => options[:name] || file
elsif options[:string]
logger.trace "loading configuration #{options[:name] || "<eval>"}"
instance_eval(options[:string], options[:name] || "<eval>")
elsif options[:proc]
logger.trace "loading configuration #{eval("__FILE__", options[:proc])}"
instance_eval(&options[:proc])
else