From 08a71f657f607a1cac2d62ae40aef03abfa6f4ed Mon Sep 17 00:00:00 2001 From: Nicolas McCurdy Date: Mon, 20 Jan 2014 16:03:18 -0500 Subject: [PATCH] Fix a minor code style issue where "do" wasn't on the same line as its params --- lib/homesick.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/homesick.rb b/lib/homesick.rb index ec14750..a007e1c 100644 --- a/lib/homesick.rb +++ b/lib/homesick.rb @@ -428,8 +428,8 @@ class Homesick < Thor def each_file(castle, basedir, subdirs) absolute_basedir = Pathname.new(basedir).expand_path inside basedir do - files = Pathname.glob('{.*,*}').reject do - |a| ['.', '..'].include?(a.to_s) + files = Pathname.glob('{.*,*}').reject do |a| + ['.', '..'].include?(a.to_s) end files.each do |path| absolute_path = path.expand_path