Skip to content

Commit

Permalink
rubocop -a; rubocop -A
Browse files Browse the repository at this point in the history
  • Loading branch information
ColinDKelley committed Feb 28, 2024
1 parent e84df09 commit d8fdc40
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Expand Up @@ -34,6 +34,6 @@ group :development do
gem 'netrc', require: false
gem 'octokit', require: false
gem 'pry-rescue'
gem 'rubocop'
gem 'rubocop', require: false
gem 'yard', require: false
end
2 changes: 1 addition & 1 deletion lib/listen/logger.rb
Expand Up @@ -46,7 +46,7 @@ def default_logger

::Logger.new(STDERR, level: level)
end

def adapter_warn_behavior_callback(message)
if adapter_warn_behavior.respond_to?(:call)
case behavior = adapter_warn_behavior.call(message)
Expand Down
2 changes: 1 addition & 1 deletion lib/listen/silencer.rb
Expand Up @@ -75,7 +75,7 @@ def configure(options)
end

def silenced?(relative_path, type)
path = relative_path.to_s # in case it is a Pathname
path = relative_path.to_s # in case it is a Pathname

_ignore?(path) || (only_patterns && type == :file && !_only?(path))
end
Expand Down
2 changes: 1 addition & 1 deletion listen.gemspec
Expand Up @@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)

require 'listen/version'

Gem::Specification.new do |gem| # rubocop:disable Metrics/BlockLength
Gem::Specification.new do |gem|
gem.name = 'listen'
gem.version = Listen::VERSION
gem.license = 'MIT'
Expand Down

0 comments on commit d8fdc40

Please sign in to comment.