Skip to content

Commit

Permalink
GitHub: Fixed XAML formatting workflow (#14097)
Browse files Browse the repository at this point in the history
  • Loading branch information
Poker-sang authored Nov 28, 2023
1 parent 0cd6cc3 commit be7bb07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
- name: Check XAML formatting
id: check-step
run: |
$changedFiles = (git diff --name-only HEAD~1) -split "\n" | Where-Object {$_ -like "*.xaml"}
$changedFiles = (git diff --diff-filter=d --name-only HEAD~1) -split "\n" | Where-Object {$_ -like "*.xaml"}
foreach ($file in $changedFiles)
{
xstyler -p -l None -f $file
Expand Down

0 comments on commit be7bb07

Please sign in to comment.