microsoft / microsoft/TypeScript

normalizeSlashes should probably no-op on *nix

Aperta
#44,174 3 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@jakebailey ci sta già lavorando.

Dal 1/2/2022.

Domain: Performance Needs Investigation
Lingua principale
Go
Stelle
111k
Fork
14.3k
Merge medio
2g 4h
PR unite (30g)
132

Descrizione

As @dmichon-msft pointed out, Linux file names can contain backslashes, so indiscriminately converting them into forward slashes is probably a bad idea. Redefining normalizeSlashes as the identity function on non-Windows platforms would also be a perf win, since it's very hot code. The biggest concern is that someone might be depending on this (e.g. I think you can use backslashes in paths in tsconfig.json).

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.