@docupace/pipeline 1.0.2-3.test3 → 1.0.2-3.test4
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/package.json +1 -1
- package/src/next/deploy.js +14 -14
package/package.json
CHANGED
package/src/next/deploy.js
CHANGED
|
@@ -369,20 +369,20 @@ export async function deployFromSite(
|
|
|
369
369
|
console.log(applications);
|
|
370
370
|
// Iterate over applications in appInfo
|
|
371
371
|
|
|
372
|
-
let appInfoLocal = Object.fromEntries(
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
);
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
372
|
+
// let appInfoLocal = Object.fromEntries(
|
|
373
|
+
// applications.applications
|
|
374
|
+
// .filter((application) =>
|
|
375
|
+
// Object.prototype.hasOwnProperty.call(appInfo, application),
|
|
376
|
+
// )
|
|
377
|
+
// .map((application) => [application, appInfo[application]]),
|
|
378
|
+
// );
|
|
379
|
+
|
|
380
|
+
let appInfoLocal = {};
|
|
381
|
+
for (const application of applications.applications) {
|
|
382
|
+
if (Object.prototype.hasOwnProperty.call(appInfo, application)) {
|
|
383
|
+
appInfoLocal[application] = appInfo[application];
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
386
|
|
|
387
387
|
if (Object.keys(appInfoLocal).length === 0) {
|
|
388
388
|
const { deployConfig: toDeployAppConfig } = await readDeployConfig(
|