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

Bug: A bug in the workflow file used for checking XAML formatting #14054

Closed
Poker-sang opened this issue Nov 24, 2023 · 1 comment · Fixed by #14097
Closed

Bug: A bug in the workflow file used for checking XAML formatting #14054

Poker-sang opened this issue Nov 24, 2023 · 1 comment · Fixed by #14097

Comments

@Poker-sang
Copy link
Contributor

Description

When a XAML file is deleted in the PR, the workflow for checking the format encounters an unexpected error. See error log.

Steps To Reproduce

see commit in example.

Requirements

Add --diff-filter=d to exclude deleted XAML files.

$changedFiles = (git diff --diff-filter=d --name-only HEAD~1) -split "\n" | Where-Object {$_ -like "*.xaml"}

Files Version

Any

Windows Version

Any

Log File

None

@yaira2
Copy link
Member

yaira2 commented Nov 28, 2023

Thank you for reporting and fixing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants