From 7a3fabffe4ae83f3c0d5e2ca3a987cec85c7cdd7 Mon Sep 17 00:00:00 2001 From: "Feblot, Alexandre" Date: Tue, 21 May 2019 17:09:42 +0200 Subject: [PATCH] Rename sslStrict argument as sslInsecure --- NewmanPostman/newmantask.ts | 6 +++--- NewmanPostman/task.json | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/NewmanPostman/newmantask.ts b/NewmanPostman/newmantask.ts index 400ba82..465625b 100644 --- a/NewmanPostman/newmantask.ts +++ b/NewmanPostman/newmantask.ts @@ -21,8 +21,8 @@ function GetToolRunner(collectionToRun: string) { newman.argIf(typeof sslClientCert != 'undefined' && tl.filePathSupplied('sslClientCert'), ['--ssl-client-cert', sslClientCert]); let sslClientKey = tl.getPathInput('sslClientKey', false, true); newman.argIf(typeof sslClientKey != 'undefined' && tl.filePathSupplied('sslClientKey'), ['--ssl-client-key', sslClientKey]); - let sslStrict = tl.getBoolInput('sslStrict'); - newman.argIf(sslStrict, ['--insecure']); + let sslInsecure = tl.getBoolInput('sslInsecure'); + newman.argIf(sslInsecure, ['--insecure']); let unicodeDisabled = tl.getBoolInput('unicodeDisabled'); newman.argIf(unicodeDisabled, ['--disable-unicode']); @@ -181,4 +181,4 @@ async function run() { } } -run(); \ No newline at end of file +run(); diff --git a/NewmanPostman/task.json b/NewmanPostman/task.json index e1ec1de..5782127 100644 --- a/NewmanPostman/task.json +++ b/NewmanPostman/task.json @@ -11,9 +11,9 @@ ], "author": "Carlo Wahlstedt", "version": { - "Major": 3, + "Major": 4, "Minor": 0, - "Patch": 23 + "Patch": 0 }, "demands": [], "groups": [ @@ -241,7 +241,7 @@ "groupName": "ssl" }, { - "name": "sslStrict", + "name": "sslInsecure", "type": "boolean", "label": "Disable Strict SSL", "helpMarkDown": "Disables strict ssl", @@ -410,4 +410,4 @@ "target": "newmantask.js" } } -} \ No newline at end of file +}