Skip to content

Commit

Permalink
Merge pull request #2726 from Microsoft/users/ajya/paramFileNotFoundI…
Browse files Browse the repository at this point in the history
…ssueM106

file picker in case of legacy agent casing issue.
  • Loading branch information
Ajay Kumar Yadav authored Sep 30, 2016
2 parents caac42c + cbce9fa commit 8dc71b3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Tasks/AzureRmWebAppDeployment/azurermwebappdeployment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down
2 changes: 1 addition & 1 deletion Tasks/AzureRmWebAppDeployment/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"version": {
"Major": 2,
"Minor": 0,
"Patch": 1
"Patch": 2
},
"minimumAgentVersion": "1.102.0",
"groups": [
Expand Down
2 changes: 1 addition & 1 deletion Tasks/AzureRmWebAppDeployment/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"version": {
"Major": 2,
"Minor": 0,
"Patch": 1
"Patch": 2
},
"minimumAgentVersion": "1.102.0",
"groups": [
Expand Down

0 comments on commit 8dc71b3

Please sign in to comment.