forked from MapComplete/MapComplete
		
	Fix partial compilation, fix tests
This commit is contained in:
		
							parent
							
								
									9f41e719f2
								
							
						
					
					
						commit
						a08a49abb2
					
				
					 3 changed files with 36 additions and 34 deletions
				
			
		|  | @ -313,7 +313,7 @@ class LayerOverviewUtils { | |||
|                 const usedLayers = Array.from(LayerOverviewUtils.extractLayerIdsFrom(themeFile, false)) | ||||
|                     .map(id => LayerOverviewUtils.layerPath + id + ".json") | ||||
|                 if (!forceReload && !this.shouldBeUpdated([themePath, ...usedLayers], targetPath)) { | ||||
|                     fixed.set(themeFile.id, themeFile) | ||||
|                     fixed.set(themeFile.id, JSON.parse(readFileSync(LayerOverviewUtils.themePath+themeFile.id+".json", 'utf8'))) | ||||
|                     skippedThemes.push(themeFile.id) | ||||
|                     continue; | ||||
|                 } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue