cf-envsync 0.3.3 → 0.3.4
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 +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -13663,7 +13663,7 @@ var init_push = __esm(() => {
|
|
|
13663
13663
|
continue;
|
|
13664
13664
|
}
|
|
13665
13665
|
}
|
|
13666
|
-
const result = await pushSecrets(workerName, secretsToPush, environment,
|
|
13666
|
+
const result = await pushSecrets(workerName, secretsToPush, environment, app.absolutePath);
|
|
13667
13667
|
if (result.success) {
|
|
13668
13668
|
consola.success(` Pushed ${keyCount} secrets to ${workerName}`);
|
|
13669
13669
|
} else {
|
|
@@ -13740,7 +13740,7 @@ var init_pull = __esm(() => {
|
|
|
13740
13740
|
continue;
|
|
13741
13741
|
}
|
|
13742
13742
|
consola.start(`Pulling secret keys for ${app.name} from ${workerName} (${environment})...`);
|
|
13743
|
-
const remoteKeys = await listSecrets(workerName, environment,
|
|
13743
|
+
const remoteKeys = await listSecrets(workerName, environment, app.absolutePath);
|
|
13744
13744
|
if (remoteKeys.length === 0) {
|
|
13745
13745
|
consola.warn(` No secrets found for ${workerName}. Skipping.`);
|
|
13746
13746
|
continue;
|
|
@@ -14076,7 +14076,7 @@ var init_diff = __esm(() => {
|
|
|
14076
14076
|
consola.start(`Diffing ${app.name}: .env vs ${workerName} (${env1})...`);
|
|
14077
14077
|
const [resolved, remoteKeys] = await Promise.all([
|
|
14078
14078
|
resolveAppEnv(config, app, env1),
|
|
14079
|
-
listSecrets(workerName, env1,
|
|
14079
|
+
listSecrets(workerName, env1, app.absolutePath)
|
|
14080
14080
|
]);
|
|
14081
14081
|
const localKeys = new Set(Object.keys(resolved.map));
|
|
14082
14082
|
const remoteKeySet = new Set(remoteKeys);
|