Skip to content

Commit

Permalink
Inspect .rake files as well (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
gvassallo authored and andreaseger committed Mar 13, 2019
1 parent 8000911 commit 99d1e53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rubocop_runner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def files
end
end

RUBY_PATTERN = /\.(rb|gemspec)$/
RUBY_PATTERN = /\.(rb|gemspec|rake)$/
RUBY_NAMES = %w(Guardfile Gemfile Rakefile config.ru).freeze

def ruby_file?(filename)
Expand Down

0 comments on commit 99d1e53

Please sign in to comment.