Permalink
Browse files

Fix a typo

Rename ":expect" to ":except".
  • Loading branch information...
1 parent 017b108 commit 08524ebd2215f5201a849d0a1c75144e8e856610 @carsomyr carsomyr committed Aug 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/capistrano/configuration/callbacks.rb
@@ -108,7 +108,7 @@ def on(event, *args, &block)
else
args = filter_deprecated_tasks(args)
options[:only] = filter_deprecated_tasks(options[:only])
- options[:expect] = filter_deprecated_tasks(options[:expect])
+ options[:except] = filter_deprecated_tasks(options[:except])
callbacks[event].concat(args.map { |name| TaskCallback.new(self, name, options) })
end

0 comments on commit 08524eb

Please sign in to comment.