Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API review file filter function is failing due to non-array output from get-ChildItem #39276

Merged

Conversation

praveenkuttappan
Copy link
Member

Create api review step is failing with an error: "Count" is not property. This happens when powershell returns an object instead of an array when it finds only one item in the result set.

@praveenkuttappan praveenkuttappan added the Central-EngSys This issue is owned by the Engineering System team. label Mar 18, 2024
@praveenkuttappan praveenkuttappan self-assigned this Mar 18, 2024
@praveenkuttappan praveenkuttappan changed the title API review file filter funtion is failing due to non-array output from get-ChildItem API review file filter function is failing due to non-array output from get-ChildItem Mar 18, 2024
@benbp
Copy link
Member

benbp commented Mar 18, 2024

Thanks @praveenkuttappan !

@praveenkuttappan
Copy link
Member Author

/check-enforcer override

@praveenkuttappan praveenkuttappan merged commit f677b14 into Azure:main Mar 18, 2024
14 checks passed
@praveenkuttappan praveenkuttappan deleted the fix_create_apiview_error branch March 18, 2024 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Central-EngSys This issue is owned by the Engineering System team.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants