From 36dd8b4a9c38f35f27f7ba58612bc6e08928db61 Mon Sep 17 00:00:00 2001 From: Luigi Pinca Date: Mon, 23 Aug 2021 18:44:59 +0200 Subject: [PATCH] [minor] Remove redundant assignment --- index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/index.js b/index.js index 9f83367..702308b 100644 --- a/index.js +++ b/index.js @@ -468,7 +468,6 @@ function set(part, value, fn) { var splits = value.split(':'); url.username = splits[0]; url.password = splits.length === 2 ? splits[1] : ''; - url[part] = value; } for (var i = 0; i < rules.length; i++) {