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.
- package/dist/index.js +1 -1
- 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);
|