Skip to content

Commit

Permalink
Sort target files so that the resulting offences will be sorted
Browse files Browse the repository at this point in the history
  • Loading branch information
yujinakayama committed Jan 31, 2014
1 parent 2e0b9f3 commit 115cc75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/guard/rubocop.rb
Expand Up @@ -77,7 +77,7 @@ def clean_paths(paths)
next true unless File.exists?(path)
included_in_other_path?(path, paths)
end
paths
paths.sort
end

def included_in_other_path?(target_path, other_paths)
Expand Down

0 comments on commit 115cc75

Please sign in to comment.