npm package diff

Package: @forge/cli

Versions: 10.4.1 - 10.5.0-next.1-experimental-264fa0f

File: package/out/command-line/controller/settings-controller.js

Index: package/out/command-line/controller/settings-controller.js
===================================================================
--- package/out/command-line/controller/settings-controller.js
+++ package/out/command-line/controller/settings-controller.js
@@ -1,14 +1,11 @@
 "use strict";
 Object.defineProperty(exports, "__esModule", { value: true });
 exports.SettingsController = exports.ALLOWED_SETTINGS = void 0;
-const tslib_1 = require("tslib");
-const promises_1 = tslib_1.__importDefault(require("fs/promises"));
-const path_1 = tslib_1.__importDefault(require("path"));
 const cli_shared_1 = require("@forge/cli-shared");
 const manifest_1 = require("@forge/manifest");
 const environment_1 = require("../environment");
-exports.ALLOWED_SETTINGS = ['usage-analytics', 'ngrok-config-path', 'default-environment'];
+exports.ALLOWED_SETTINGS = ['usage-analytics', 'default-environment'];
 class SettingsController {
     settingsView;
     cachedConfigService;
     getAppConfig;
@@ -25,27 +22,8 @@
                 const parsedValue = this.parseBoolean(value);
                 this.cachedConfigService.setAnalyticsPreferences(parsedValue);
             }
         },
-        'ngrok-config-path': {
-            description: cli_shared_1.Text.settings.ngrokConfig.description,
-            get: async () => this.cachedConfigService.getNgrokConfigPath(),
-            set: async (value) => {
-                value = path_1.default.resolve(value);
-                let stat;
-                try {
-                    stat = await promises_1.default.stat(value);
-                }
-                catch (e) {
-                    throw new cli_shared_1.ValidationError(cli_shared_1.Text.settings.ngrokConfig.errors.inaccessible(value, e.code));
-                }
-                if (!stat.isFile()) {
-                    throw new cli_shared_1.ValidationError(cli_shared_1.Text.settings.ngrokConfig.errors.notAFile(value));
-                }
-                this.cachedConfigService.setNgrokConfigPath(value);
-            },
-            getDisplayValue: (value) => path_1.default.resolve(value)
-        },
         'default-environment': {
             description: cli_shared_1.Text.settings.defaultEnvironment.description,
             get: async () => {
                 try {