Skip to content

Commit

Permalink
jhw uses full paths for everything now, this has to, too
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbintz committed Oct 17, 2011
1 parent 7040e0e commit 6e2be80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/guard/jasmine-headless-webkit.rb
Expand Up @@ -80,7 +80,7 @@ def run_for_failed_files(paths = [])
end

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

def valid_extensions
Expand Down

0 comments on commit 6e2be80

Please sign in to comment.