yarnpkg/yarn

Inconsistent config strings

Open

#4496 aperta il 18 set 2017

Vedi su GitHub
 (9 commenti) (0 reazioni) (0 assegnatari)JavaScript (2731 fork)batch import
cat-featuregood first issuehelp wantedtriaged

Metriche repository

Star
 (41.514 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Continuation from #4457

Do you want to request a feature or report a bug? Potential bug.

What is the current behavior? Yarn config has different formatting for object keys that are computed / set vs defaults.

I'm not sure I understand if this is by design or not. If so, what is the use case?

Initial registry configuration

What is the expected behavior? Keys should all be wrapped in single quotes or DEFAULTS should follow same formatting as registry, lastUpdateCheck, and user configured values do

Please mention your node.js, yarn and operating system version. Yarn: 1.0.2 Node: 8.1.4

Happy to submit a PR if the current functionality isn't as expected.

Guida contributor