From 09801d6db75e24d72aee2247cfa2f0cfd20a2394 Mon Sep 17 00:00:00 2001 From: Tres Finocchiaro Date: Sun, 7 Jul 2024 12:55:20 -0400 Subject: [PATCH] Only clone websocket properties to "install" --- src/qz/build/provision/ProvisionBuilder.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/qz/build/provision/ProvisionBuilder.java b/src/qz/build/provision/ProvisionBuilder.java index dcc359a5..a29c8938 100644 --- a/src/qz/build/provision/ProvisionBuilder.java +++ b/src/qz/build/provision/ProvisionBuilder.java @@ -122,12 +122,10 @@ private void ingestStep(JSONObject jsonStep, Path relativePath) throws JSONExcep HashMap pairs = PropertyInvoker.parsePropertyPairs(step); if(pairs.get(ArgValue.WEBSOCKET_SECURE_PORTS.getMatch()) != null || pairs.get(ArgValue.WEBSOCKET_INSECURE_PORTS.getMatch()) != null) { - + // Clone to install step + jsonSteps.put(step.cloneTo(Phase.INSTALL).toJSON()); } - // Clone to install step - jsonSteps.put(step.cloneTo(Phase.INSTALL).toJSON()); } - } else { log.error("[SKIPPED] Resources could not be saved '{}'", step); }