@docupace/pipeline 1.0.2-3.tes1 → 1.0.2-3.test

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/package.json +1 -1
  2. package/src/next/deploy.js +5 -12
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docupace/pipeline",
3
- "version": "1.0.23.tes1",
3
+ "version": "1.0.23.test",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -368,18 +368,11 @@ export async function deployFromSite(
368
368
  let changesMade = false;
369
369
  const applications = await getAppTypesFromRepo(fromEnv, fromSite);
370
370
  // Iterate over applications in appInfo
371
- let appInfoLocal = {};
372
- // let appInfoLocal = Object.fromEntries(
373
- // applications
374
- // .filter((application) => appInfo[application])
375
- // .map((application) => [application, appInfo[application]]),
376
- // );
377
-
378
- for (const application of applications) {
379
- if (Object.prototype.hasOwnProperty.call(appInfo, application)) {
380
- appInfoLocal[application] = appInfo[application];
381
- }
382
- }
371
+ let appInfoLocal = Object.fromEntries(
372
+ applications
373
+ .filter((application) => appInfo[application])
374
+ .map((application) => [application, appInfo[application]]),
375
+ );
383
376
 
384
377
  if (Object.keys(appInfoLocal).length === 0) {
385
378
  const { deployConfig: toDeployAppConfig } = await readDeployConfig(