From 8f194b87c3535d38749bf3cd7f868f64bbc870c9 Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Fri, 17 Dec 2021 11:53:00 -0500 Subject: [PATCH] Add getBaseRegistryUrl dep to attemptInstallByInfoInjectable (#4590) --- .../attempt-install-by-info.injectable.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/renderer/components/+extensions/attempt-install-by-info/attempt-install-by-info.injectable.ts b/src/renderer/components/+extensions/attempt-install-by-info/attempt-install-by-info.injectable.ts index 0db5c1677c..34fd491fe9 100644 --- a/src/renderer/components/+extensions/attempt-install-by-info/attempt-install-by-info.injectable.ts +++ b/src/renderer/components/+extensions/attempt-install-by-info/attempt-install-by-info.injectable.ts @@ -22,10 +22,12 @@ import type { Injectable } from "@ogre-tools/injectable"; import { lifecycleEnum } from "@ogre-tools/injectable"; import { attemptInstallByInfo, ExtensionInfo } from "./attempt-install-by-info"; import attemptInstallInjectable from "../attempt-install/attempt-install.injectable"; +import getBaseRegistryUrlInjectable from "../get-base-registry-url/get-base-registry-url.injectable"; const attemptInstallByInfoInjectable: Injectable<(extensionInfo: ExtensionInfo) => Promise, {}> = { getDependencies: di => ({ attemptInstall: di.inject(attemptInstallInjectable), + getBaseRegistryUrl: di.inject(getBaseRegistryUrlInjectable), }), instantiate: attemptInstallByInfo,