8000 alejandra attempts to format git branches with names ending in *.nix · Issue #465 · kamadorueda/alejandra · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
alejandra attempts to format git branches with names ending in *.nix #465
Open
@TroubleDog54

Description

@TroubleDog54

If a git branch is created with a name that appears like a nix file (e.g. utils.nix), then alejandra sees files in the .git folder as nix files and attempts to format them, but fails as they are used to store git metadata.

alejandra version: 4.0.0

Checking style in 62 files using 8 threads.


Failed! 1 error found at:
- ./.git/logs/refs/heads/utils.nix: unexpected TOKEN_IDENT at 102..376, wanted any of [TOKEN_L_BRACE]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0