Skip to content

Commit 023573c

Browse files
clydinalexeagle
authored andcommitted
fix(@schematics/update): correct npm config return value
1 parent 9250e8e commit 023573c

File tree

1 file changed

+1
-1
lines changed
  • packages/schematics/update/update

1 file changed

+1
-1
lines changed

packages/schematics/update/update/npm.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ function getOptionFromNpmCli(option: string): Observable<string | undefined> {
8585
subject.complete();
8686
});
8787
}).pipe(
88-
catchError(() => of()),
88+
catchError(() => of(undefined)),
8989
shareReplay(),
9090
);
9191
}

0 commit comments

Comments
 (0)