Skip to content

Commit

Permalink
avoid experimental flag to be undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
edmundhung committed Nov 27, 2024
1 parent 95721a4 commit 7d4ca23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/wrangler/src/deploy/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ export async function deployHandler(args: DeployArgs) {
await run(
{
FILE_BASED_REGISTRY: false,
RESOURCES_PROVISION: args.experimentalProvision,
RESOURCES_PROVISION: args.experimentalProvision ?? false,
},
() => deployWorker(args)
);
Expand Down
2 changes: 1 addition & 1 deletion packages/wrangler/src/experimental-flags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { logger } from "./logger";

type ExperimentalFlags = {
FILE_BASED_REGISTRY: boolean;
RESOURCES_PROVISION: boolean | undefined;
RESOURCES_PROVISION: boolean;
};

const flags = new AsyncLocalStorage<ExperimentalFlags>();
Expand Down

0 comments on commit 7d4ca23

Please sign in to comment.