dokku-compose 0.6.7 → 0.6.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 +2 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -711,13 +711,10 @@ var NetworkProps = {
|
|
|
711
711
|
|
|
712
712
|
// src/modules/plugins.ts
|
|
713
713
|
async function ensurePlugins(ctx, plugins) {
|
|
714
|
-
const listOutput = await ctx.query("plugin:list");
|
|
715
|
-
const installedNames = new Set(
|
|
716
|
-
listOutput.split("\n").map((line) => line.trim().split(/\s+/)[0]).filter(Boolean)
|
|
717
|
-
);
|
|
718
714
|
for (const [name, config] of Object.entries(plugins)) {
|
|
719
715
|
logAction("plugins", `Installing ${name}`);
|
|
720
|
-
|
|
716
|
+
const installed = await ctx.check("plugin:installed", name);
|
|
717
|
+
if (installed) {
|
|
721
718
|
logSkip();
|
|
722
719
|
continue;
|
|
723
720
|
}
|