cf-envsync 0.3.7 → 0.3.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -13281,7 +13281,7 @@ async function resolveAppEnv(config, app, environment) {
13281
13281
  if (Object.keys(rootEnv).length > 0) {
13282
13282
  layers.push({ source: rootEnvPath, map: rootEnv });
13283
13283
  }
13284
- if (config.raw.envFiles.perApp) {
13284
+ if (config.raw.envFiles.perApp && environment !== "local") {
13285
13285
  const appEnvPath = getAppEnvPath(config, app, environment);
13286
13286
  if (normalize(appEnvPath) !== normalize(rootEnvPath)) {
13287
13287
  const appEnv = await loadEnvFile(appEnvPath, environment, config.projectRoot, encryption);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cf-envsync",
3
- "version": "0.3.7",
3
+ "version": "0.3.8",
4
4
  "description": "Sync .env files to Cloudflare Workers secrets, .dev.vars, and more",
5
5
  "type": "module",
6
6
  "exports": {