microsoft / azure-pipelines-tasks

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

[BUG]: Small typo in Error Message for Task AzureCLIV2 'Script Location' in Azure DevOps #20616

Closed yilas closed 5 days ago

yilas commented 1 week ago

What happened?

Hello,

While running a pipeline, I encountered an error message with a typo :

##[error]Script failed with error: Error: inline is not a valid value for task input 'Script Location' (scriptLocation in YAML). Value can either be'inlineScript' or 'scriptPath'

It seems that there is a missing space between "be" and "'inlineScript'," which would improve readability. The message should be:

Value can either be 'inlineScript' or 'scriptPath'

Thank you for addressing this correction

Image

Versions

All versions

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)

Version Azure DevOps Server 2022 RC1 (AzureDevOpsServer_20220728.1)

Operation system

Windows 10

Version controll system

No response

Relevant log output

No response

ivanduplenskikh commented 1 week ago

@yilas, thank you for the contribution. Let us take a look. Since this change is related to the AzureCLIV2 task this issue should be transferred to the Azure Pipelines Tasks repository.

v-schhabra commented 1 week ago

https://github.com/microsoft/azure-pipelines-tasks/pull/20637