diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2022-09-01 03:18:29 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2022-09-01 03:18:29 -0600 |
| commit | be3538a133fcd76792da0ee63e5f093519bfa164 (patch) | |
| tree | 82ae1bf47d3ee55f59760e4b3eccf9156343828f /tasks | |
| parent | e1e0fb4147f23ebce6a3acd5691827e8bde341ab (diff) | |
add custom cop to ensure debug flag is not left on to_pdf function
Diffstat (limited to 'tasks')
| -rw-r--r-- | tasks/rubocop.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/rubocop.rake b/tasks/rubocop.rake index a511e380..99b7450e 100644 --- a/tasks/rubocop.rake +++ b/tasks/rubocop.rake @@ -3,7 +3,7 @@ begin require 'rubocop/rake_task' RuboCop::RakeTask.new :lint do |t| - t.patterns = Dir['lib/**/*.rb'] - ['lib/asciidoctor/pdf/formatted_text/parser.rb'] + %w(Gemfile Rakefile bin/* spec/**/*.rb tasks/*.rake) + t.patterns = Dir['lib/**/*.rb'] - ['lib/asciidoctor/pdf/formatted_text/parser.rb'] + %w(Gemfile Rakefile bin/* cops/**/*.rb spec/**/*.rb tasks/*.rake) end rescue LoadError => e task :lint do |
