Skip to content

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

Closed
@Poker-sang

Description

@Poker-sang

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions