Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Normalize slashes cross-platform #85

Open
dy opened this issue Sep 24, 2019 · 3 comments
Open

Normalize slashes cross-platform #85

dy opened this issue Sep 24, 2019 · 3 comments

Comments

@dy
Copy link

dy commented Sep 24, 2019

We're doing npx ttag update ./i18n/en-CA.po ./src command.
In OSX that generates forward slashes:

#: src/constants.js:10

In windows that generates back slashes:

#: src\constants.js:10

That creates useless noise in git diff.
Can that be prob normalized?

@AlexMost
Copy link
Member

Hi @dy!
Is it ok if we will leave only the first way of formatting?

@dy
Copy link
Author

dy commented Sep 25, 2019

@AlexMost absolutely, I prefer / - that's the standard path style and windows understands that too.

@joaogardenberg
Copy link

joaogardenberg commented Dec 18, 2020

Any hints on how to do that?
This still happens here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants