mirror of
				https://github.com/Redocly/redoc.git
				synced 2025-10-28 06:21:09 +03:00 
			
		
		
		
	Replace const with let to conform to coding style
This commit is contained in:
		
							parent
							
								
									51965f94b5
								
							
						
					
					
						commit
						190b5e79f6
					
				|  | @ -43,7 +43,7 @@ export class SpecManager { | |||
|   /* calculate common used values */ | ||||
|   init() { | ||||
|     let protocol; | ||||
|     const urlParts = urlParse(this._url); | ||||
|     let urlParts = urlParse(this._url); | ||||
|     if (!this._schema.schemes || !this._schema.schemes.length) { | ||||
|       protocol = this._url ? urlParts.protocol : 'http'; | ||||
|     } else { | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user