Skip to content

Commit

Permalink
Remove dead code (#2129)
Browse files Browse the repository at this point in the history
The key being removed could not exist in the map as it is not even the
same type than keys.
  • Loading branch information
stof committed Nov 3, 2023
1 parent 89dac15 commit 54caf19
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/src/extend/extension_store.dart
Original file line number Diff line number Diff line change
Expand Up @@ -355,11 +355,6 @@ class ExtensionStore {
}
}
}

// If [selectors] doesn't contain [extension.extender], for example if it
// was replaced due to :not() expansion, we must get rid of the old
// version.
if (!containsExtension) sources.remove(extension.extender);
}

return additionalExtensions;
Expand Down

0 comments on commit 54caf19

Please sign in to comment.