You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mmm. The Extensions class should replace existing values instead of duplicate them.
Here https://github.com/lumeland/lume/blob/master/core/extensions.ts#L14 the function should remove the existing value before adding the new one.
Feel free to createa PR or I will fix it (I cannot right now).
I have a plugin with:
With the new code this breaks, because
Engines.engine
ends up like:and
Engines.engine.search()
returns the first entry.Extensions
doesn't seem to worry about duplicates. Ideas?The text was updated successfully, but these errors were encountered: