Fix code indention.

This commit is contained in:
Michael Kessler 2011-09-27 20:44:17 +02:00
parent 7e6e52a2c9
commit d857134446

View File

@ -25,6 +25,7 @@ module Guard
# @option options [String] watchdir the director to watch
# @option options [String] guardfile the path to the Guardfile
# @option options [Boolean] watch_all_modifications watches all file modifications if true
#
def setup(options = {})
@options = options
@guards = []
@ -196,7 +197,7 @@ module Guard
unless paths.empty?
if @watch_all_modifications
UI.debug "#{guard.class.name}##{task} with #{paths.inspect}"
supervised_task(guard, task, paths.select {|f| !f.start_with?('!') })
supervised_task(guard, task, paths.select { |f| !f.start_with?('!') })
deletions = paths.collect { |f| f.slice(1..-1) if f.start_with?('!') }.compact
unless deletions.empty?
UI.debug "#{guard.class.name}#run_on_deletion with #{deletions.inspect}"