1
0
mirror of https://github.com/angular/angular-cli.git synced 2025-05-17 02:54:21 +08:00

fix(@schematics/update): taking whitespaces around "=" in .npmrc into account

This commit is contained in:
smnbbrv 2018-09-19 13:13:44 +02:00 committed by Hans
parent b699ad2684
commit b19a348c69

@ -56,7 +56,7 @@ function _readNpmRc(): Observable<{ [key: string]: string }> {
allOptionsArr.forEach(x => {
const [key, ...value] = x.split('=');
allOptions[key] = value.join('=');
allOptions[key.trim()] = value.join('=').trim();
});
subject.next(allOptions);