Skip to content

Commit

Permalink
#2
Browse files Browse the repository at this point in the history
  • Loading branch information
jvanderbiest committed Sep 7, 2019
1 parent 75f0bc5 commit 5450539
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions directline-jabber-task/v1/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ async function run() {

// if the preprocessFilePath was empty by the user Azure DevOps will put the default WorkingDirectory path instead when checking for PathInput.
// we want to have the empty value if it's empty.
var preprocessFilePath: string = tl.getInput('preprocessFilePath');
var preprocessFilePath: string = tl.getPathInput('preprocessFilePath');

if (preprocessFilePath) {
preprocessFilePath = tl.getPathInput('preprocessFilePath');
if (preprocessFilePath == tl.getVariable('System.DefaultWorkingDirectory')) {
preprocessFilePath = null;
}

var requestHandler;
Expand Down
6 changes: 3 additions & 3 deletions directline-jabber-task/v1/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
"id": "3b9727ae-fe2b-47b7-bdb3-d429d86b27e1",
"name": "directline-jabber",
"friendlyName": "Directline Jabber",
"description": "Executes Directline Jabber commandline tool",
"helpMarkDown": "",
"description": "Uses the Directline Jabber testing tool in your Azure DevOps pipelines.",
"helpMarkDown": "https://github.com/jvanderbiest/directline-jabber",
"category": "Utility",
"author": "Jonas Van der Biest",
"version": {
"Major": 2,
"Minor": 0,
"Patch": 0
"Patch": 3
},
"instanceNameFormat": "Directline Jabber",
"inputs": [{
Expand Down
4 changes: 2 additions & 2 deletions vss-extension.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
"public": true,
"id": "directline-jabber-task",
"name": "Directline Jabber",
"version": "2.0.1",
"version": "2.0.3",
"publisher": "jvanderbiest",
"targets": [
{
"id": "Microsoft.VisualStudio.Services"
}
],
"description": "Use of Directline Jabber testing tool.",
"description": "Uses the Directline Jabber testing tool in your Azure DevOps pipelines.",
"categories": [
"Azure Pipelines"
],
Expand Down

0 comments on commit 5450539

Please sign in to comment.