lib/stashify/directory.rb in stashify-1.0.3 vs lib/stashify/directory.rb in stashify-1.0.4
- old
+ new
@@ -10,10 +10,10 @@
end
def find(name)
if directory?(name)
directory(name)
- else
+ elsif file?(name)
file(name)
end
end
def write(file)