You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							19 lines
						
					
					
						
							404 B
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							19 lines
						
					
					
						
							404 B
						
					
					
				| 'use strict'; | |
| // This file is ES6 because it needs to be executed as is. | |
|  | |
| if ('NG_CLI_ANALYTICS' in process.env) { | |
|   return; | |
| } | |
| 
 | |
| try { | |
|   var analytics = require('../../models/analytics'); | |
| 
 | |
|   analytics | |
|     .hasGlobalAnalyticsConfiguration() | |
|     .then((hasGlobalConfig) => { | |
|       if (!hasGlobalConfig) { | |
|         return analytics.promptGlobalAnalytics(); | |
|       } | |
|     }) | |
|     .catch(() => {}); | |
| } catch (_) {}
 |