Skip to content

Commit aeeef2a

Browse files
authoredJan 9, 2025··
refactor: remove uneeded check (#240)
1 parent dbcc4be commit aeeef2a

File tree

1 file changed

+0
-4
lines changed
  • packages/cloudflare/src/cli/templates

1 file changed

+0
-4
lines changed
 

‎packages/cloudflare/src/cli/templates/worker.ts

-4
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,6 @@ export default {
6060
* Note that cloudflare env string values are copied by the middleware handler.
6161
*/
6262
async function populateProcessEnv(url: URL, nextJsEnv?: string) {
63-
if (process.env.__PROCESS_ENV_POPULATED === "1") {
64-
return;
65-
}
66-
6763
// @ts-expect-error: resolved by wrangler build
6864
const nextEnvVars = await import("./.env.mjs");
6965

0 commit comments

Comments
 (0)
Please sign in to comment.