fix type for env variable
This commit is contained in:
		
							parent
							
								
									712af44de4
								
							
						
					
					
						commit
						8afe46122d
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -227,7 +227,7 @@ export function loadConfig(): Config {
 | 
			
		|||
	if (configFiles.length === 0
 | 
			
		||||
			&& !process.env['MK_WARNED_ABOUT_CONFIG']) {
 | 
			
		||||
		console.log('No config files loaded, check if this is intentional');
 | 
			
		||||
		process.env['MK_WARNED_ABOUT_CONFIG'] = true;
 | 
			
		||||
		process.env['MK_WARNED_ABOUT_CONFIG'] = '1';
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	const config = configFiles.map(path => fs.readFileSync(path, 'utf-8'))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue