Skip to content

Commit

Permalink
make sure Datadog::AppSec is loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
GustavoCaso committed Jun 19, 2023
1 parent 02e2a1f commit 599b534
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/datadog/core/configuration/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def dig(*options)

def reset!
reset_options!
Datadog::AppSec.settings.send(:reset!)
Datadog::AppSec.settings.send(:reset!) if defined?(Datadog::AppSec)
end
end
end
Expand Down

0 comments on commit 599b534

Please sign in to comment.