Skip to content

Commit

Permalink
Update external-provider-sources.html.md
Browse files Browse the repository at this point in the history
  • Loading branch information
flash-gordon committed Jul 31, 2024
1 parent f3effcf commit 0ae1241
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docsite/source/external-provider-sources.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Then, define your provider source:
# |- lib/my_gem/provider_sources/exception_notifier.rb

Dry::System.register_provider_source(:exception_notifier, group: :my_gem) do
init do
prepare do
require "some_exception_notifier"
end

Expand Down Expand Up @@ -90,7 +90,7 @@ Dry::System.register_component(:exception_notifier, provider: :common) do
setting :environments, default: :production, constructor: Types::Strict::Array.of(Types::Strict::Symbol)
setting :logger

init do
prepare do
require "some_exception_notifier"
end

Expand Down

0 comments on commit 0ae1241

Please sign in to comment.