diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 2d540c9..e908934 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by # `rubocop --auto-gen-config --exclude-limit 180` -# on 2023-04-20 23:33:11 UTC using RuboCop version 1.50.2. +# on 2023-04-27 23:33:05 UTC using RuboCop version 1.50.2. # The point is for the user to remove these configuration records # one by one as the offenses are removed from the code base. # Note that changes in the inspected code, or installation of new @@ -349,14 +349,6 @@ Rails/Exit: - 'lib/dispatch-rider/command.rb' - 'lib/dispatch-rider/subscriber.rb' -# Offense count: 1 -# This cop supports unsafe autocorrection (--autocorrect-all). -# Configuration parameters: Include. -# Include: app/**/*.rb, config/**/*.rb, db/**/*.rb, lib/**/*.rb -Rails/Output: - Exclude: - - 'lib/dispatch-rider/command.rb' - # Offense count: 1 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: Include. diff --git a/lib/dispatch-rider/command.rb b/lib/dispatch-rider/command.rb index 4c400c5..69e4a75 100644 --- a/lib/dispatch-rider/command.rb +++ b/lib/dispatch-rider/command.rb @@ -35,7 +35,7 @@ def process_args(args) opts = OptionParser.new do |opts| opts.banner = "Usage: #{File.basename($0)} [options] start|stop|restart|run" opts.on('-h', '--help', 'Show this message') do - puts opts + Rails.logger.debug opts exit 1 end opts.on('-i', '--identifier=n', 'A numeric identifier for the worker.') do |n|