Skip to content

en-dash in filenames #34489

@Zyphdoz

Description

@Zyphdoz

There are two files which have an (en-dash) in their fliename instead of the normal -.
The offending files are:
https://github.com/facebook/react/blob/main/compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/functionexpr%E2%80%93conditional-access.expect.md
and
https://github.com/facebook/react/blob/main/compiler/packages/babel-plugin-react-compiler/src/__tests__/fixtures/compiler/functionexpr%E2%80%93conditional-access.js

I found this because I'm working on a tool that parses git history and when I decided to test it on the react codebase I got some very cryptic errors because the en-dashes in those filenames had gotten replaced with \342\200\223. My tool can deal with en-dashes in the filenames now but I'm still reporting this because filenames should follow a convention and en-dashes are not part of that convention.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: UnconfirmedA potential issue that we haven't yet confirmed as a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions