From 37ec7eb382acf191cbb74811fe4bb9eb840b9512 Mon Sep 17 00:00:00 2001 From: "izaaz.yunus" Date: Mon, 16 Dec 2024 17:00:26 -0800 Subject: [PATCH] chore: pr feedback --- packages/analytics-core/src/timeline.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }