From c5d06da387189d102ea6cf13501cc9215af5cf9b Mon Sep 17 00:00:00 2001 From: Anumita Shenoy Date: Mon, 1 Jul 2019 15:32:55 +0530 Subject: [PATCH] Fixed multiline json flattening in key vault task --- Tasks/AzureKeyVaultV1/operations/KeyVault.ts | 2 +- Tasks/AzureKeyVaultV1/task.json | 4 ++-- Tasks/AzureKeyVaultV1/task.loc.json | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Tasks/AzureKeyVaultV1/operations/KeyVault.ts b/Tasks/AzureKeyVaultV1/operations/KeyVault.ts index 980059fd5395..dc7dc1fa9104 100644 --- a/Tasks/AzureKeyVaultV1/operations/KeyVault.ts +++ b/Tasks/AzureKeyVaultV1/operations/KeyVault.ts @@ -213,7 +213,7 @@ export class KeyVault { if (strVal) { console.log(util.format("Value of secret %s has been converted to single line.", secretName)); tl.setVariable(secretNameWithoutVersion, strVal, true); - tl.setVariable(secretName, secretValue, true); + tl.setVariable(secretName, strVal, true); } else { let lines = secretValue.split('\n'); diff --git a/Tasks/AzureKeyVaultV1/task.json b/Tasks/AzureKeyVaultV1/task.json index d88d248149b7..68e65f70d3d5 100644 --- a/Tasks/AzureKeyVaultV1/task.json +++ b/Tasks/AzureKeyVaultV1/task.json @@ -14,8 +14,8 @@ "author": "Microsoft Corporation", "version": { "Major": 1, - "Minor": 154, - "Patch": 1 + "Minor": 155, + "Patch": 0 }, "demands": [], "minimumAgentVersion": "2.0.0", diff --git a/Tasks/AzureKeyVaultV1/task.loc.json b/Tasks/AzureKeyVaultV1/task.loc.json index a23250c94667..78aade868cdf 100644 --- a/Tasks/AzureKeyVaultV1/task.loc.json +++ b/Tasks/AzureKeyVaultV1/task.loc.json @@ -14,8 +14,8 @@ "author": "Microsoft Corporation", "version": { "Major": 1, - "Minor": 154, - "Patch": 1 + "Minor": 155, + "Patch": 0 }, "demands": [], "minimumAgentVersion": "2.0.0",