diff --git a/Tasks/AzureRmWebAppDeployment/azurermwebappdeployment.ts b/Tasks/AzureRmWebAppDeployment/azurermwebappdeployment.ts index d1a9cc4442b8..e3ce305b43d3 100644 --- a/Tasks/AzureRmWebAppDeployment/azurermwebappdeployment.ts +++ b/Tasks/AzureRmWebAppDeployment/azurermwebappdeployment.ts @@ -223,7 +223,7 @@ function fileExists(path): boolean { */ function getSetParamFilePath(setParametersFile: string) : string { - if(!tl.filePathSupplied('SetParametersFile')) { + if((!tl.filePathSupplied('SetParametersFile')) || setParametersFile == tl.getVariable('System.DefaultWorkingDirectory')) { setParametersFile = null; } else if (!fileExists(setParametersFile)) { diff --git a/Tasks/AzureRmWebAppDeployment/task.json b/Tasks/AzureRmWebAppDeployment/task.json index d94a24e34cba..c87f4aa76c0f 100644 --- a/Tasks/AzureRmWebAppDeployment/task.json +++ b/Tasks/AzureRmWebAppDeployment/task.json @@ -13,7 +13,7 @@ "version": { "Major": 2, "Minor": 0, - "Patch": 1 + "Patch": 2 }, "minimumAgentVersion": "1.102.0", "groups": [ diff --git a/Tasks/AzureRmWebAppDeployment/task.loc.json b/Tasks/AzureRmWebAppDeployment/task.loc.json index b53887459ca2..0f5ef91d6e5d 100644 --- a/Tasks/AzureRmWebAppDeployment/task.loc.json +++ b/Tasks/AzureRmWebAppDeployment/task.loc.json @@ -13,7 +13,7 @@ "version": { "Major": 2, "Minor": 0, - "Patch": 1 + "Patch": 2 }, "minimumAgentVersion": "1.102.0", "groups": [