Skip to content

Commit

Permalink
Fix the removal of the selector in the extension store
Browse files Browse the repository at this point in the history
  • Loading branch information
stof committed Oct 30, 2023
1 parent 89dac15 commit 2eb81c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/extend/extension_store.dart
Original file line number Diff line number Diff line change
Expand Up @@ -356,10 +356,10 @@ class ExtensionStore {
}
}

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

return additionalExtensions;
Expand Down

0 comments on commit 2eb81c6

Please sign in to comment.