From 190b5e79f6be448b31883f512664d6985c211af4 Mon Sep 17 00:00:00 2001 From: Mike Stead Date: Mon, 1 Aug 2016 09:57:06 +1000 Subject: [PATCH] Replace const with let to conform to coding style --- lib/utils/SpecManager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/SpecManager.ts b/lib/utils/SpecManager.ts index 3b5776e6..02c5e92a 100644 --- a/lib/utils/SpecManager.ts +++ b/lib/utils/SpecManager.ts @@ -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 {