On a Mac, the az artifact universal download
command adds files from the current directory as arguments
#28969
Labels
Artifacts
az artifacts
Auto-Assign
Auto assign by bot
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Service Attention
This issue is responsible by Azure service team.
Describe the bug
On a Mac, running the
az artifacts download....
command in a NOT empty folder will result in an error:ERROR: unrecognized arguments: <here_list_of_files_of_the_current_directory>
If we execute the command in an empty folder it works fine.
Related command
az artifacts universal download --organization "https://dev.azure.com/myorganization/" --feed "aray" --scope "project" --name "myname" --version * --path "." --project "myproject" --debug
Errors
Command arguments contains files
'aray_sync.ps1', 'README.md'
from the executing directory:Issue script & Debug output
Expected behavior
cli.knack.cli: Command arguments should not contains files from the executing directory
Environment Summary
Device
ProductName: macOS
ProductVersion: Ventura 13.6.1
BuildVersion: 22G313
Azure-Cli
core 2.60.0
telemetry 1.1.0
Extensions:
azure-devops 1.0.0
Dependencies:
msal 1.28.0
azure-mgmt-resource 23.1.0b2
Python location '/usr/local/Cellar/azure-cli/2.60.0/libexec/bin/python'
Extensions directory '/Users/danielmrowca/.azure/cliextensions'
Python (Darwin) 3.11.9 (main, Apr 2 2024, 08:25:04) [Clang 15.0.0 (clang-1500.1.0.2.5)]
Additional context
No response
The text was updated successfully, but these errors were encountered: