mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-26 10:33:44 +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