@forge/cli
12.17.012.18.0-next.8
out/command-line/dependency-injection.js~
out/command-line/dependency-injection.jsModified+2−1
Index: package/out/command-line/dependency-injection.js
===================================================================
--- package/out/command-line/dependency-injection.js
+++ package/out/command-line/dependency-injection.js
@@ -88,11 +88,11 @@
const customscopes = tslib_1.__importStar(require("../custom-scopes"));
const custom_scopes_service_1 = require("../service/custom-scopes-service");
const getDependencies = async (cliDetails) => {
let cmd;
- const ui = new cli_shared_1.CommandLineUI(() => cmd.verbose);
const cachedConf = cli_shared_1.CachedConf.getCache(cli_shared_1.CONFIG_PROJECT_NAME);
const cachedConfigService = new cached_config_service_1.CachedConfigService(cachedConf);
+ const ui = new cli_shared_1.CommandLineUI(() => cmd.verbose, undefined, undefined, undefined, () => cachedConfigService.getCustomEffects());
const graphqlGateway = (0, cli_shared_1.getGraphqlGateway)();
const createGraphQLClient = (auth) => {
const minimalGraphQLRunner = new cli_shared_1.MinimalGraphQLRunner(auth, graphqlGateway, cliDetails);
const graphQLRunner = new cli_shared_1.DebuggingGraphqlRunner(minimalGraphQLRunner, graphqlGateway, ui);
@@ -109,8 +109,9 @@
const appConfigReader = (0, cli_shared_1.configFileReaderForSection)(cli_shared_1.appConfigKey, cli_shared_1.appConfigShape, configFile);
const assertiveAppConfigReader = (0, cli_shared_1.assertiveAppConfigProvider)(appConfigReader);
const appConfigWriter = (0, cli_shared_1.configFileWriterForSection)(cli_shared_1.appConfigKey, cli_shared_1.appConfigShape, configFile);
const statsigService = new cli_shared_1.StatsigService(ui, cliDetails, credentialStore, appConfigReader);
+ ui.setStatsigService(statsigService);
const supportedProductsService = new cli_shared_1.SupportedProductsService();
const settingsView = new settings_view_1.SettingsView(ui);
const settingsController = new settings_controller_1.SettingsController(settingsView, cachedConfigService, assertiveAppConfigReader);
const assistantController = new assistant_controller_1.AssistantController(ui, cachedConfigService);