Skip to content

Commit

Permalink
Rename sslStrict argument as sslInsecure
Browse files Browse the repository at this point in the history
  • Loading branch information
Feblot, Alexandre committed May 21, 2019
1 parent 76b8ce9 commit 7a3fabf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions NewmanPostman/newmantask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
Expand Down Expand Up @@ -181,4 +181,4 @@ async function run() {
}
}

run();
run();
8 changes: 4 additions & 4 deletions NewmanPostman/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
],
"author": "Carlo Wahlstedt",
"version": {
"Major": 3,
"Major": 4,
"Minor": 0,
"Patch": 23
"Patch": 0
},
"demands": [],
"groups": [
Expand Down Expand Up @@ -241,7 +241,7 @@
"groupName": "ssl"
},
{
"name": "sslStrict",
"name": "sslInsecure",
"type": "boolean",
"label": "Disable Strict SSL",
"helpMarkDown": "Disables strict ssl",
Expand Down Expand Up @@ -410,4 +410,4 @@
"target": "newmantask.js"
}
}
}
}

0 comments on commit 7a3fabf

Please sign in to comment.