ttag-cli icon indicating copy to clipboard operation
ttag-cli copied to clipboard

Normalize slashes cross-platform

Open dy opened this issue 6 years ago • 3 comments

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?

dy avatar Sep 24 '19 20:09 dy

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

AlexMost avatar Sep 25 '19 08:09 AlexMost

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

dy avatar Sep 25 '19 14:09 dy

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

joaogardenberg avatar Dec 18 '20 07:12 joaogardenberg