diff --git a/packages/analytics-core/src/timeline.ts b/packages/analytics-core/src/timeline.ts index 04a972d2d..c154f522c 100644 --- a/packages/analytics-core/src/timeline.ts +++ b/packages/analytics-core/src/timeline.ts @@ -43,7 +43,7 @@ export class Timeline { async deregister(pluginName: string, config: Config) { const index = this.plugins.findIndex((plugin) => plugin.name === pluginName); - if (index == -1) { + if (index === -1) { config.loggerProvider.warn(`Plugin with name ${pluginName} does not exist, skipping deregistration`); return; }