Skip to content

Commit

Permalink
undo
Browse files Browse the repository at this point in the history
  • Loading branch information
alex committed Jul 14, 2013
1 parent 729a523 commit 5593987
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib-topaz/dir.rb
Expand Up @@ -4,11 +4,9 @@ def self.exists?(dirname)
dirname = dirname.to_path
end
begin
new(dirname)
!!new(dirname)
rescue Errno::ENOENT, Errno::ENOTDIR
return false
else
return true
false
end
end

Expand Down

0 comments on commit 5593987

Please sign in to comment.