microsoft / azure-pipelines-tasks

Tasks for Azure Pipelines
https://aka.ms/tfbuild
MIT License
3.47k stars 2.61k forks source link

[BUG]: AzureFunctionAppV2 has invalid json for Russian Resource files #20293

Closed jessehouwing closed 1 month ago

jessehouwing commented 1 month ago

New issue checklist

Task name

AzureFunctionApp

Task version

2.244.2

Issue Description

The resource file for the Russian translations is missing its closing }.

Environment type (Please select at least one enviroment where you face this issue)

Azure DevOps Server type

dev.azure.com (formerly visualstudio.com)

Azure DevOps Server Version (if applicable)

No response

Operation system

Any

Relevant log output

ConvertFrom-Json: D:\a\azure-pipelines-tasks-zips\azure-pipelines-tasks-zips\generate-sxs.ps1:52
Line |
  52 |  … es = (Get-Content $resourceFile -raw) | ConvertFrom-Json -AsHashtable
     |                                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Conversion from JSON failed with error: Unexpected end when deserializing object. Path
     | '['loc.messages.DeploymentTypeNotSupportedForFlexConsumption']', line 180, position 133.

### Full task logs with system.debug enabled

n/a

### Repro steps

```yml
n/a
jessehouwing commented 1 month ago

Fixed by: https://github.com/microsoft/azure-pipelines-tasks/pull/20292

v-schhabra commented 1 month ago

@FinVamp1 Could you or your team please check this issue?

jessehouwing commented 1 month ago

Fixed in: https://github.com/microsoft/azure-pipelines-tasks/commit/a6a6a01b7369f40e6b3bf3640842d78e9be07e5e