Pana / nrm

NPM registry manager, fast switch between different registries: npm, cnpm, nj, taobao
MIT License
2.82k stars 249 forks source link

fix nrm current no reaction and humps camelize call #67

Closed SunGuoQiang123 closed 3 years ago

SunGuoQiang123 commented 4 years ago
  1. nrm current and nrm ls not show current registry, because non-custom registry never add FIELD_IS_CURRENT property, i don't find the purpose why that code appear
  2. humps call camelize: there isn't a second parametor for { separator: '-' }
  3. when add a non-custom registry as a custom registry. just return and log the info
  4. fix code style:add Semicolons at the end of the statements