Skip to content

Commit

Permalink
rename env to environment as suggested in PR review
Browse files Browse the repository at this point in the history
  • Loading branch information
dario-piotrowicz committed Apr 13, 2024
1 parent eefd9cf commit c6acdb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/wrangler/src/api/integrations/platform/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`)
*/
Expand Down Expand Up @@ -86,7 +86,7 @@ export async function getPlatformProxy<
>(
options: GetPlatformProxyOptions = {}
): Promise<PlatformProxy<Env, CfProperties>> {
const env = options.env;
const env = options.environment;

const rawConfig = readConfig(options.configPath, {
experimentalJsonConfig: options.experimentalJsonConfig,
Expand Down

0 comments on commit c6acdb4

Please sign in to comment.