mirror of
				https://github.com/Redocly/redoc.git
				synced 2025-10-30 23:37:28 +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 */ |   /* calculate common used values */ | ||||||
|   init() { |   init() { | ||||||
|     let protocol; |     let protocol; | ||||||
|     const urlParts = urlParse(this._url); |     let urlParts = urlParse(this._url); | ||||||
|     if (!this._schema.schemes || !this._schema.schemes.length) { |     if (!this._schema.schemes || !this._schema.schemes.length) { | ||||||
|       protocol = this._url ? urlParts.protocol : 'http'; |       protocol = this._url ? urlParts.protocol : 'http'; | ||||||
|     } else { |     } else { | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user