lib/stashify/directory.rb in stashify-3.0.0 vs lib/stashify/directory.rb in stashify-3.1.0
- old
+ new
@@ -13,10 +13,10 @@
end
def find(name)
if directory?(name)
directory(name)
- elsif file?(name)
+ elsif exists?(name)
file(name)
end
end
def write(file)