From d15f3063fc1a31ecb209ddeae1dbc421d310270f Mon Sep 17 00:00:00 2001 From: Sergey Penkovsky Date: Fri, 8 Aug 2025 12:49:12 +0300 Subject: [PATCH] hotfix --- cherrypick/lib/src/helper.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cherrypick/lib/src/helper.dart b/cherrypick/lib/src/helper.dart index 1ca58a0..ea715c3 100644 --- a/cherrypick/lib/src/helper.dart +++ b/cherrypick/lib/src/helper.dart @@ -16,6 +16,9 @@ import 'package:cherrypick/src/global_cycle_detector.dart'; import 'package:cherrypick/src/logger.dart'; import 'package:meta/meta.dart'; + +Scope? _rootScope; + /// Global logger for all [Scope]s managed by [CherryPick]. /// /// Defaults to [SilentLogger] unless set via [setGlobalLogger]. @@ -48,8 +51,6 @@ bool _globalCrossScopeCycleDetectionEnabled = false; /// final service = root.resolve(); /// ``` class CherryPick { - static Scope? _rootScope; - /// Sets the global logger for all [Scope]s created by CherryPick. /// /// Allows customizing log output and DI diagnostics globally.