Skip to content

Commit 8dc71b3

Browse files
author
Ajay Kumar Yadav
authored
Merge pull request #2726 from Microsoft/users/ajya/paramFileNotFoundIssueM106
file picker in case of legacy agent casing issue.
2 parents caac42c + cbce9fa commit 8dc71b3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Tasks/AzureRmWebAppDeployment/azurermwebappdeployment.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ function fileExists(path): boolean {
223223
*/
224224
function getSetParamFilePath(setParametersFile: string) : string {
225225

226-
if(!tl.filePathSupplied('SetParametersFile')) {
226+
if((!tl.filePathSupplied('SetParametersFile')) || setParametersFile == tl.getVariable('System.DefaultWorkingDirectory')) {
227227
setParametersFile = null;
228228
}
229229
else if (!fileExists(setParametersFile)) {

Tasks/AzureRmWebAppDeployment/task.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"version": {
1414
"Major": 2,
1515
"Minor": 0,
16-
"Patch": 1
16+
"Patch": 2
1717
},
1818
"minimumAgentVersion": "1.102.0",
1919
"groups": [

Tasks/AzureRmWebAppDeployment/task.loc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"version": {
1414
"Major": 2,
1515
"Minor": 0,
16-
"Patch": 1
16+
"Patch": 2
1717
},
1818
"minimumAgentVersion": "1.102.0",
1919
"groups": [

0 commit comments

Comments
 (0)