@forge/cli
12.14.0-next.9-experimental-44a932f12.14.0-next.14-experimental-3fd1b86
out/command-line/dependency-injection.js~
out/command-line/dependency-injection.jsModified+4−4
Index: package/out/command-line/dependency-injection.js
===================================================================
--- package/out/command-line/dependency-injection.js
+++ package/out/command-line/dependency-injection.js
@@ -204,15 +204,15 @@
const createSandbox = async (cfg) => new tunnel_2.NodeSandbox(cfg);
const functionHost = new tunnel_1.LocalFunctionHost(configFile, ui, createSandbox);
const localInvocationService = new tunnel_1.LocalInvocationService(ui);
const startTunnelCommand = new tunnel_1.StartTunnelCommand(assertiveAppConfigReader, new tunnel_1.LocalDevelopmentServer(localInvocationService, ui, configFile, fileReader, statsigService, i18nResourceBundlingService, appEnvironmentClient), new tunnel_1.CloudflareCreateTunnelService(ui), new tunnel_1.RegisterTunnelServiceImpl(new tunnel_1.TunnelGraphqlClient(graphQLClient)), functionHost, ui, configFile);
- const tunnelInteractor = new tunnel_1.TunnelInteractor(ui, statsigService);
const configFilePortFindingService = new port_finding_service_1.ConfigFilePortFindingService(configFile);
- const nodeTunnelService = new tunnel_service_1.InProcessTunnelService(startTunnelCommand, tunnelInteractor, configFilePortFindingService);
- const tunnelView = new tunnel_view_1.TunnelView(ui);
const dockerService = new docker_service_1.DockerService();
const containerCommand = new containers_1.ContainerCommand(graphQLClient, assertiveAppConfigReader, dockerService);
- const tunnelController = new tunnel_controller_1.TunnelController(nodeTunnelService, tunnelView, configFile, cachedConfigService, containerCommand, environmentClient);
+ const tunnelInteractor = new tunnel_1.TunnelInteractor(ui, statsigService, containerCommand);
+ const nodeTunnelService = new tunnel_service_1.InProcessTunnelService(startTunnelCommand, tunnelInteractor, configFilePortFindingService);
+ const tunnelView = new tunnel_view_1.TunnelView(ui);
+ const tunnelController = new tunnel_controller_1.TunnelController(nodeTunnelService, tunnelView, configFile, cachedConfigService, environmentClient);
const stubController = new stubController_1.StubController();
const prerequisitesController = new prerequisites_controller_1.PrerequisitesController(ui, cliDetails);
const defaultEnvironmentController = new default_environment_controller_1.DefaultEnvironmentController(ui, credentialStore, cachedConfigService, assertiveAppConfigReader, userRepository, createEnvironmentCommand, environmentClient, getAppOwnerQuery);
cmd = command_1.Command.program(ui, analyticsClientReporter, preCommandController, cliDetails, credentialStore, defaultEnvironmentController, supportedProductsService, cachedConfigService);