Module: PatchedRubocop::GitTurgetFinder
- Included in:
- RuboCop::TargetFinder
- Defined in:
- lib/ducalis/patched_rubocop/git_turget_finder.rb
Instance Method Summary collapse
Instance Method Details
#find_files(base_dir, flags) ⇒ Object
5 6 7 8 9 10 |
# File 'lib/ducalis/patched_rubocop/git_turget_finder.rb', line 5 def find_files(base_dir, flags) replacement = GitAccess.instance.changed_files return replacement unless replacement.empty? super end |