lib/inch/config/codebase.rb in inch-0.4.7 vs lib/inch/config/codebase.rb in inch-0.4.8

- old
+ new

@@ -25,10 +25,10 @@ def update(&block) instance_eval(&block) end def update_via_yaml(dir) - if yaml = self.class.yaml(dir) + if (yaml = self.class.yaml(dir)) Dir.chdir(dir) do update_files yaml["files"] end end end