Skip to content

Commit

Permalink
made the linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
escamoteur committed May 8, 2023
1 parent 68b5183 commit fd831bb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/get_it_impl.dart
Original file line number Diff line number Diff line change
Expand Up @@ -827,8 +827,10 @@ class _GetItImplementation implements GetIt {
/// As dispose functions can be async, you should await this function.
@override
Future<bool> popScopesTill(String scopeName, {bool inclusive = true}) async {
assert(inclusive && scopeName != _baseScopeName,
"You can't pop the base scope");
assert(
inclusive && scopeName != _baseScopeName,
"You can't pop the base scope",
);
if (_scopes.firstWhereOrNull((x) => x.name == scopeName) == null) {
return false;
}
Expand Down

0 comments on commit fd831bb

Please sign in to comment.