mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-21 22:34:21 +08:00
Before only first line end was being replaced. Also, the replace value was incorrectly escaped. The CA read from cafile being corrupt resulted in broken updates when using registry with self-signed certificate. The workaround till this is merged is to use `ca` or `ca[]` properties in `.npmrc`.