Fix a minor code style issue where "do" wasn't on the same line as its params

This commit is contained in:
Nicolas McCurdy
2014-01-20 16:03:18 -05:00
parent 8173429131
commit 08a71f657f

View File

@@ -428,8 +428,8 @@ class Homesick < Thor
def each_file(castle, basedir, subdirs) def each_file(castle, basedir, subdirs)
absolute_basedir = Pathname.new(basedir).expand_path absolute_basedir = Pathname.new(basedir).expand_path
inside basedir do inside basedir do
files = Pathname.glob('{.*,*}').reject do files = Pathname.glob('{.*,*}').reject do |a|
|a| ['.', '..'].include?(a.to_s) ['.', '..'].include?(a.to_s)
end end
files.each do |path| files.each do |path|
absolute_path = path.expand_path absolute_path = path.expand_path