Permalink
Browse files

Show path matching in debug output

  • Loading branch information...
1 parent 4db7cfd commit 3689ab1c5826ce93b1c8b81c3adc1d98d7c28c85 @candlerb candlerb committed with quirkey Feb 14, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/soca/pusher.rb
View
@@ -129,6 +129,7 @@ def map_file(path, hash)
file_data = File.read(path)
base_path = path.gsub(app_dir, '')
if map = mapped_directories.detect {|k,v| k =~ base_path }
+ logger.debug "Matched #{path} against #{map.inspect}"
if map[1]
base_path = base_path.gsub(map[0], map[1])
else

0 comments on commit 3689ab1

Please sign in to comment.