From 63cd56a696e3f05be2aea3cf7ae908011303c670 Mon Sep 17 00:00:00 2001 From: Sergey Penkovsky Date: Fri, 2 May 2025 11:48:37 +0300 Subject: [PATCH] fix: fix warning --- cherrypick/lib/src/scope.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cherrypick/lib/src/scope.dart b/cherrypick/lib/src/scope.dart index bdcdc43..575f9e7 100644 --- a/cherrypick/lib/src/scope.dart +++ b/cherrypick/lib/src/scope.dart @@ -130,6 +130,6 @@ class Scope { } // 2 Поиск зависимостей в родительском скоупе - return _parentScope != null ? _parentScope!.tryResolve(named: named) : null; + return _parentScope?.tryResolve(named: named); } }