jhw uses full paths for everything now, this has to, too
This commit is contained in:
parent
7040e0e949
commit
6e2be80d6a
@ -80,7 +80,7 @@ module Guard
|
|||||||
end
|
end
|
||||||
|
|
||||||
def filter_paths(paths)
|
def filter_paths(paths)
|
||||||
paths.collect { |path| Dir[path] }.flatten.find_all { |path| File.extname(path)[valid_extensions] }.uniq
|
paths.collect { |path| Dir[path] }.flatten.find_all { |path| File.extname(path)[valid_extensions] }.collect { |path| File.expand_path(path) }.uniq
|
||||||
end
|
end
|
||||||
|
|
||||||
def valid_extensions
|
def valid_extensions
|
||||||
|
Loading…
Reference in New Issue
Block a user