ajv-validator / ajv-validator/ajv

Adding \r\n while serializing in Windows and \n while serializing in Ubuntu

Aperta
#2,344 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
compatibility
Lingua principale
TypeScript
Stelle
14.8k
Fork
1k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

**The version of Ajv you are using**

"ajv": "^8.10.0",

**The environment you have the problem with**

Windows

When I am using compileSerializer it is reffering different ways in different os

Like windows it is adding \r\n and in ubuntu it is adding \n when adding a new line.

How to fix it?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.