From c6acdb46eff88e826768522f45f363d8082f968b Mon Sep 17 00:00:00 2001 From: Dario Piotrowicz Date: Sat, 13 Apr 2024 17:36:37 +0100 Subject: [PATCH] rename `env` to `environment` as suggested in PR review --- packages/wrangler/src/api/integrations/platform/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/wrangler/src/api/integrations/platform/index.ts b/packages/wrangler/src/api/integrations/platform/index.ts index 2715236af4b1..e566a6f8e8fa 100644 --- a/packages/wrangler/src/api/integrations/platform/index.ts +++ b/packages/wrangler/src/api/integrations/platform/index.ts @@ -23,7 +23,7 @@ export type GetPlatformProxyOptions = { /** * The name of the environment to use */ - env?: string; + environment?: string; /** * The path to the config object to use (default `wrangler.toml`) */ @@ -86,7 +86,7 @@ export async function getPlatformProxy< >( options: GetPlatformProxyOptions = {} ): Promise> { - const env = options.env; + const env = options.environment; const rawConfig = readConfig(options.configPath, { experimentalJsonConfig: options.experimentalJsonConfig,