From 191c0fa9608d09010421220c8e18e8768ff4744d Mon Sep 17 00:00:00 2001 From: Janne Savolainen Date: Thu, 2 Jun 2022 10:58:28 +0300 Subject: [PATCH] Fix incorrect name of file Signed-off-by: Janne Savolainen --- ...with-orphan-promise.ts => with-orphan-promise.injectable.ts} | 0 .../utils/with-orphan-promise/with-orphan-promise.test.ts | 2 +- .../process-checking-for-updates.injectable.ts | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename src/common/utils/with-orphan-promise/{with-orphan-promise.ts => with-orphan-promise.injectable.ts} (100%) diff --git a/src/common/utils/with-orphan-promise/with-orphan-promise.ts b/src/common/utils/with-orphan-promise/with-orphan-promise.injectable.ts similarity index 100% rename from src/common/utils/with-orphan-promise/with-orphan-promise.ts rename to src/common/utils/with-orphan-promise/with-orphan-promise.injectable.ts diff --git a/src/common/utils/with-orphan-promise/with-orphan-promise.test.ts b/src/common/utils/with-orphan-promise/with-orphan-promise.test.ts index f20331497c..3349a98cb0 100644 --- a/src/common/utils/with-orphan-promise/with-orphan-promise.test.ts +++ b/src/common/utils/with-orphan-promise/with-orphan-promise.test.ts @@ -7,7 +7,7 @@ import asyncFn from "@async-fn/jest"; import { getDiForUnitTesting } from "../../../main/getDiForUnitTesting"; import loggerInjectable from "../../logger.injectable"; import type { Logger } from "../../logger"; -import withOrphanPromiseInjectable from "./with-orphan-promise"; +import withOrphanPromiseInjectable from "./with-orphan-promise.injectable"; describe("with orphan promise, when called", () => { let toBeDecorated: AsyncFnMock<(arg1: string, arg2: string) => Promise>; diff --git a/src/main/application-update/check-for-updates/process-checking-for-updates.injectable.ts b/src/main/application-update/check-for-updates/process-checking-for-updates.injectable.ts index 2ab36d72cd..752d6cd01e 100644 --- a/src/main/application-update/check-for-updates/process-checking-for-updates.injectable.ts +++ b/src/main/application-update/check-for-updates/process-checking-for-updates.injectable.ts @@ -13,7 +13,7 @@ import quitAndInstallUpdateInjectable from "../../electron-app/features/quit-and import downloadUpdateInjectable from "../download-update/download-update.injectable"; import broadcastChangeInUpdatingStatusInjectable from "./broadcast-change-in-updating-status.injectable"; import checkForUpdatesStartingFromChannelInjectable from "./check-for-updates-starting-from-channel.injectable"; -import withOrphanPromiseInjectable from "../../../common/utils/with-orphan-promise/with-orphan-promise"; +import withOrphanPromiseInjectable from "../../../common/utils/with-orphan-promise/with-orphan-promise.injectable"; const processCheckingForUpdatesInjectable = getInjectable({ id: "process-checking-for-updates",