fix(cli_: avoid updating variable when unecessary

This commit is contained in:
Ruben Fiszel
2023-12-14 09:31:11 +01:00
parent 41947274cc
commit 7145fc54b9
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
// windmill
export { setClient } from "https://deno.land/x/windmill@v1.225.0/mod.ts";
export * from "https://deno.land/x/windmill@v1.225.0/windmill-api/index.ts";
export { setClient } from "https://deno.land/x/windmill@v1.226.1/mod.ts";
export * from "https://deno.land/x/windmill@v1.226.1/windmill-api/index.ts";
export { SEP } from "https://deno.land/std@0.201.0/path/separator.ts";
// cliffy
export { Command } from "https://deno.land/x/cliffy@v1.0.0-rc.2/command/mod.ts";
+1
View File
@@ -62,6 +62,7 @@ export async function pushVariable(
workspace: workspace,
path: remotePath.replaceAll("\\", "/"),
decryptSecret: plainSecrets,
includeEncrypted: true,
});
log.debug(`Variable ${remotePath} exists on remote`);
} catch {