forked from MapComplete/MapComplete
		
	chore: automated housekeeping...
This commit is contained in:
		
							parent
							
								
									a178de3e03
								
							
						
					
					
						commit
						bb6b053429
					
				
					 131 changed files with 7447 additions and 5143 deletions
				
			
		|  | @ -643,14 +643,14 @@ class LayerOverviewUtils extends Script { | |||
|                     LayerOverviewUtils.layerPath + | ||||
|                     sharedLayerPath.substring(sharedLayerPath.lastIndexOf("/")) | ||||
|                 if (!forceReload && !this.shouldBeUpdated(sharedLayerPath, targetPath)) { | ||||
|                     try{ | ||||
|                     try { | ||||
|                         const sharedLayer = JSON.parse(readFileSync(targetPath, "utf8")) | ||||
|                         sharedLayers.set(sharedLayer.id, sharedLayer) | ||||
|                         skippedLayers.push(sharedLayer.id) | ||||
|                         ScriptUtils.erasableLog("Loaded " + sharedLayer.id) | ||||
|                         continue | ||||
|                     }catch (e) { | ||||
|                         throw "Could not parse "+targetPath+" : "+e | ||||
|                     } catch (e) { | ||||
|                         throw "Could not parse " + targetPath + " : " + e | ||||
|                     } | ||||
|                 } | ||||
|             } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue