From f47dbccdefbcb98ab30000bf573da83eb5b56734 Mon Sep 17 00:00:00 2001 From: Justin Baur <19896123+justindbaur@users.noreply.github.com> Date: Thu, 8 Sep 2022 14:57:10 -0400 Subject: [PATCH] Fix file casing (#3468) --- apps/browser/src/listeners/onCommandListener.ts | 4 ++-- libs/common/src/services/noopEvent.service.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/browser/src/listeners/onCommandListener.ts b/apps/browser/src/listeners/onCommandListener.ts index 3abcd69e807..2a33e91e578 100644 --- a/apps/browser/src/listeners/onCommandListener.ts +++ b/apps/browser/src/listeners/onCommandListener.ts @@ -5,7 +5,7 @@ import { AuthService } from "@bitwarden/common/services/auth.service"; import { CipherService } from "@bitwarden/common/services/cipher.service"; import { ConsoleLogService } from "@bitwarden/common/services/consoleLog.service"; import { EncryptService } from "@bitwarden/common/services/encrypt.service"; -import NoOpEventService from "@bitwarden/common/services/noOpEvent.service"; +import { NoopEventService } from "@bitwarden/common/services/noopEvent.service"; import { SearchService } from "@bitwarden/common/services/search.service"; import { SettingsService } from "@bitwarden/common/services/settings.service"; import { StateMigrationService } from "@bitwarden/common/services/stateMigration.service"; @@ -102,7 +102,7 @@ const doAutoFillLogin = async (tab: chrome.tabs.Tab): Promise => { searchService = new SearchService(cipherService, logService, i18nService); // TODO: Remove this before we encourage anyone to start using this - const eventService = new NoOpEventService(); + const eventService = new NoopEventService(); const autofillService = new AutofillService( cipherService, diff --git a/libs/common/src/services/noopEvent.service.ts b/libs/common/src/services/noopEvent.service.ts index 63d045524ec..4504ceb29f5 100644 --- a/libs/common/src/services/noopEvent.service.ts +++ b/libs/common/src/services/noopEvent.service.ts @@ -5,7 +5,7 @@ import { EventType } from "@bitwarden/common/enums/eventType"; * If you want to use this, don't. * If you think you should use that after the warning, don't. */ -export default class NoOpEventService implements EventService { +export class NoopEventService implements EventService { constructor() { if (chrome.runtime.getManifest().manifest_version !== 3) { throw new Error("You are not allowed to use this when not in manifest_version 3");