Skip to content

Commit

Permalink
fix for the fix
Browse files Browse the repository at this point in the history
  • Loading branch information
escamoteur committed May 8, 2023
1 parent fd831bb commit 76800ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/get_it_impl.dart
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,7 @@ class _GetItImplementation implements GetIt {
@override
Future<bool> popScopesTill(String scopeName, {bool inclusive = true}) async {
assert(
inclusive && scopeName != _baseScopeName,
scopeName != _baseScopeName || !inclusive,
"You can't pop the base scope",
);
if (_scopes.firstWhereOrNull((x) => x.name == scopeName) == null) {
Expand Down

0 comments on commit 76800ad

Please sign in to comment.