npm package diff
Package: @forge/cli
Versions: 10.4.1 - 10.5.0-next.1-experimental-264fa0f
File: package/out/command-line/controller/tunnel-controller.js
Index: package/out/command-line/controller/tunnel-controller.js
===================================================================
--- package/out/command-line/controller/tunnel-controller.js
+++ package/out/command-line/controller/tunnel-controller.js
@@ -11,26 +11,23 @@
dockerTunnelService;
tunnelView;
configFile;
credentialStore;
- featureFlagService;
- constructor(analyticsService, nodeTunnelService, localTunnelService, dockerTunnelService, tunnelView, configFile, credentialStore, featureFlagService) {
+ constructor(analyticsService, nodeTunnelService, localTunnelService, dockerTunnelService, tunnelView, configFile, credentialStore) {
this.analyticsService = analyticsService;
this.nodeTunnelService = nodeTunnelService;
this.localTunnelService = localTunnelService;
this.dockerTunnelService = dockerTunnelService;
this.tunnelView = tunnelView;
this.configFile = configFile;
this.credentialStore = credentialStore;
- this.featureFlagService = featureFlagService;
}
async run(tunnelOptions, ui) {
const isNodeJsRuntime = (await this.configFile.runtimeType()) === cli_shared_1.RuntimeType.nodejs;
const options = this.validateTunnelCommandOptions(isNodeJsRuntime, tunnelOptions);
const creds = await this.credentialStore.getCredentials();
const localTunnelErrorCallback = this.tunnelView.getTunnelErrorHandler(cli_shared_1.exitOnError);
- const isCloudflareTunnel = await this.featureFlagService.isCloudflareTunnelEnabled();
- this.tunnelView.dockerPreamble(isCloudflareTunnel, tunnelOptions.environment);
+ this.tunnelView.dockerPreamble(tunnelOptions.environment);
if (isNodeJsRuntime) {
return await this.nodeTunnelService.run(options, creds, ui.debugEnabled);
}
if (process.env.FORGE_DEV_TUNNEL) {