We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4986577 commit 5606a4cCopy full SHA for 5606a4c
packages/angular/cli/bin/postinstall/analytics-prompt.js
@@ -8,9 +8,12 @@ if ('NG_CLI_ANALYTICS' in process.env) {
8
try {
9
var analytics = require('../../models/analytics');
10
11
- analytics.hasGlobalAnalyticsConfiguration().then(hasGlobalConfig => {
12
- if (!hasGlobalConfig) {
13
- return analytics.promptGlobalAnalytics();
14
- }
15
- });
+ analytics
+ .hasGlobalAnalyticsConfiguration()
+ .then(hasGlobalConfig => {
+ if (!hasGlobalConfig) {
+ return analytics.promptGlobalAnalytics();
16
+ }
17
+ })
18
+ .catch(() => {});
19
} catch (_) {}
0 commit comments