Don't read a config file if the filename is empty.
This commit is contained in:
		
							parent
							
								
									04d4473119
								
							
						
					
					
						commit
						6eaa8e90f8
					
				|  | @ -169,6 +169,7 @@ module Jekyll | ||||||
| 
 | 
 | ||||||
|       begin |       begin | ||||||
|         files.each do |config_file| |         files.each do |config_file| | ||||||
|  |           next if config_file.nil? or config_file.empty? | ||||||
|           new_config = read_config_file(config_file) |           new_config = read_config_file(config_file) | ||||||
|           configuration = Utils.deep_merge_hashes(configuration, new_config) |           configuration = Utils.deep_merge_hashes(configuration, new_config) | ||||||
|         end |         end | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue