Skip to content

Commit be7bb07

Browse files
authored
GitHub: Fixed XAML formatting workflow (#14097)
1 parent 0cd6cc3 commit be7bb07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
- name: Check XAML formatting
6161
id: check-step
6262
run: |
63-
$changedFiles = (git diff --name-only HEAD~1) -split "\n" | Where-Object {$_ -like "*.xaml"}
63+
$changedFiles = (git diff --diff-filter=d --name-only HEAD~1) -split "\n" | Where-Object {$_ -like "*.xaml"}
6464
foreach ($file in $changedFiles)
6565
{
6666
xstyler -p -l None -f $file

0 commit comments

Comments
 (0)