Skip to content

Formating via stdin is being ignored due to gitignore #1657

@zoriya

Description

@zoriya

Environments:

  • CSharpier Version: 1.0.2
  • Running CSharpier via: cli
  • Operating System: linux
  • .csharpierrc Settings: none
  • .editorconfig Settings: none
  • .gitignore: *

Steps to reproduce:

  • Create a .gitignore with * in it (ignore all files)
  • Write a foobar.cs file
  • Try to format it with csharpier format < ./foobar.cs

Expected behavior:

The formated file should be printed to stdout.

Actual behavior:

Nothing is printed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions