Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fsevent is resolving symlinks in paths, which causes all kinds of cra…

…zy things to happen if you're not expecting it. as a fix, we need to do the same and resolve the actual filesystem path without symlinks ahead of time.
  • Loading branch information...
commit 5ed1bdc72a1b0f2fd11664ce34b6b8914c5d3583 1 parent 8f5898f
@ttilley authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/fssm/path.rb
View
1  lib/fssm/path.rb
@@ -85,6 +85,7 @@ def set_path(path)
@path = FSSM::Pathname.for(path).expand_path
raise FSSM::FileNotFoundError, "No such file or directory - #{@path}" unless @path.exist?
raise FSSM::FileNotRealError, "Path is virtual - #{@path}" if @path.is_virtual?
+ @path = @path.realpath
end
def set_glob(glob)

0 comments on commit 5ed1bdc

Please sign in to comment.
Something went wrong with that request. Please try again.