Fix a minor code style issue where "do" wasn't on the same line as its params
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user