diff --git a/NewmanPostman/newmantask.ts b/NewmanPostman/newmantask.ts index bd96a15..5bb63aa 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 sslInsecure = tl.getBoolInput('sslInsecure'); - newman.argIf(sslInsecure, ['--insecure']); + let sslStrict = tl.getBoolInput('sslStrict'); + newman.argIf(sslStrict, ['--insecure']); let unicodeDisabled = tl.getBoolInput('unicodeDisabled'); newman.argIf(unicodeDisabled, ['--disable-unicode']); diff --git a/NewmanPostman/task.json b/NewmanPostman/task.json index 94b01cb..c6d577a 100644 --- a/NewmanPostman/task.json +++ b/NewmanPostman/task.json @@ -5,10 +5,7 @@ "description": "Using Newman, one can effortlessly run and test a Postman Collections directly from the command-line. Now in a task!", "helpMarkDown": "[More Information](https://github.com/carlowahlstedt/NewmanPostman_VSTS_Task/blob/master/README.md)", "category": "Test", - "visibility": [ - "Build", - "Release" - ], + "visibility": ["Build", "Release"], "author": "Carlo Wahlstedt", "version": { "Major": 4, @@ -241,7 +238,7 @@ "groupName": "ssl" }, { - "name": "sslInsecure", + "name": "sslStrict", "type": "boolean", "label": "Disable Strict SSL", "helpMarkDown": "Disables strict ssl",