Skip to content

Commit

Permalink
fixup! +s
Browse files Browse the repository at this point in the history
  • Loading branch information
vicb committed Dec 17, 2024
1 parent d2ab3bb commit 8a85559
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/wrangler/src/deployment-bundle/bundle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import * as esbuild from "esbuild";
import {
getBuildConditionsFromEnv,
getBuildPlatformFromEnv,
getUnenvResolvePathFromEnv,
getUnenvResolvePathsFromEnv,
} from "../environment-variables/misc-variables";
import { UserError } from "../errors";
import { getFlag } from "../experimental-flags";
Expand Down Expand Up @@ -391,7 +391,7 @@ export async function bundleWorker(
},
};

const unenvResolvePaths = getUnenvResolvePathFromEnv()?.split(",");
const unenvResolvePaths = getUnenvResolvePathsFromEnv()?.split(",");

const buildOptions: esbuild.BuildOptions & { metafile: true } = {
// Don't use entryFile here as the file may have been changed when applying the middleware
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export const getBuildPlatformFromEnv = getEnvironmentVariableFactory({
*
* Setting root paths allow to use a different version of the preset.
*/
export const getUnenvResolvePathFromEnv = getEnvironmentVariableFactory({
export const getUnenvResolvePathsFromEnv = getEnvironmentVariableFactory({
variableName: "WRANGLER_UNENV_RESOLVE_PATHS",
});

Expand Down

0 comments on commit 8a85559

Please sign in to comment.