Skip to content

Commit

Permalink
Make logger untyped
Browse files Browse the repository at this point in the history
  • Loading branch information
vinistock committed Oct 6, 2023
1 parent 12e616c commit 41b5d7f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/shopify_api/context.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Context
@is_private = T.let(false, T::Boolean)
@private_shop = T.let(nil, T.nilable(String))
@is_embedded = T.let(true, T::Boolean)
@logger = T.let(::Logger.new($stdout), ::Logger)
@logger = T.let(::Logger.new($stdout), T.untyped)
@log_level = T.let(:info, Symbol)
@notified_missing_resources_folder = T.let({}, T::Hash[String, T::Boolean])
@active_session = T.let(Concurrent::ThreadLocalVar.new { nil }, T.nilable(Concurrent::ThreadLocalVar))
Expand All @@ -33,7 +33,7 @@ class << self
is_private: T::Boolean,
is_embedded: T::Boolean,
log_level: T.any(String, Symbol),
logger: ::Logger,
logger: T.untyped,
host_name: T.nilable(String),
host: T.nilable(String),
private_shop: T.nilable(String),
Expand Down Expand Up @@ -116,7 +116,7 @@ def load_rest_resources(api_version:)
sig { returns(Auth::AuthScopes) }
attr_reader :scope

sig { returns(::Logger) }
sig { returns(T.untyped) }
attr_reader :logger

sig { returns(Symbol) }
Expand Down

0 comments on commit 41b5d7f

Please sign in to comment.