diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2020-01-12 17:32:44 +0100 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2020-01-12 17:32:44 +0100 |
commit | 0465f07dfe7e49084ac47972aef79fc9d8ecd8e4 (patch) | |
tree | 276105670c5246f3b8e32a091e9284d7de36ec8b /spec/quality_es_spec.rb | |
parent | 544e57cbe9bccd4f6e85c2ccea7e8d4a8c0f59fa (diff) | |
download | bundler-0465f07dfe7e49084ac47972aef79fc9d8ecd8e4.tar.gz |
Extract `man_tracked_files` path helper
Diffstat (limited to 'spec/quality_es_spec.rb')
-rw-r--r-- | spec/quality_es_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/quality_es_spec.rb b/spec/quality_es_spec.rb index 4224d6244f..c1cb028ee1 100644 --- a/spec/quality_es_spec.rb +++ b/spec/quality_es_spec.rb @@ -41,7 +41,7 @@ RSpec.describe "La biblioteca si misma" do included = /ronn/ error_messages = [] in_repo_root do - `git ls-files -z -- man`.split("\x0").each do |filename| + man_tracked_files.split("\x0").each do |filename| next unless filename =~ included error_messages << check_for_expendable_words(filename) error_messages << check_for_specific_pronouns(filename) |