Skip to content

Commit

Permalink
Remove debugger
Browse files Browse the repository at this point in the history
  • Loading branch information
martinstreicher committed May 4, 2023
1 parent d923642 commit b994cb6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion lib/servo/bar.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
module Servo
class Bar < SidekiqJob
include Callable
debugger

if defined?(Sidekiq)
include Sidekiq::Worker
end
Expand Down
1 change: 0 additions & 1 deletion lib/servo/callable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ module Callable
define_model_callbacks :validation

def call
debugger
if valid?
result = execute
context.result ||= result
Expand Down
1 change: 0 additions & 1 deletion spec/unit/active_job_jig_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
r = Servo::Foo.perform_now(x: 1, y: 2)
s = Servo::Foo.call(z: 2, w: 3)
t = Servo::Bar.perform_async(a: 1, b: 2)
debugger
expect(ActiveJobJig.ancestors).to include(ActiveJob::Execution)
end

Expand Down

0 comments on commit b994cb6

Please sign in to comment.