forked from MapComplete/MapComplete
		
	Chore: linting
This commit is contained in:
		
							parent
							
								
									4625ad9a5c
								
							
						
					
					
						commit
						097141f944
					
				
					 307 changed files with 5346 additions and 2147 deletions
				
			
		|  | @ -10,12 +10,9 @@ export default class DownloadLinkedDataList extends Script { | |||
|     async main([url, noProxy]: string[]): Promise<void> { | ||||
|         const useProxy = noProxy !== "--no-proxy" | ||||
|         const data = await LinkedDataLoader.fetchJsonLd(url, {}, useProxy) | ||||
|         const path = "linked_data_"+url.replace(/[^a-zA-Z0-9_]/g, "_")+".jsonld" | ||||
|         writeFileSync(path, | ||||
|             JSON.stringify(data), | ||||
|             "utf8" | ||||
|             ) | ||||
|         console.log("Written",path) | ||||
|         const path = "linked_data_" + url.replace(/[^a-zA-Z0-9_]/g, "_") + ".jsonld" | ||||
|         writeFileSync(path, JSON.stringify(data), "utf8") | ||||
|         console.log("Written", path) | ||||
|     } | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue