From 568c5ec1e5281764b49bba4902bf8d04b9f10ecf Mon Sep 17 00:00:00 2001 From: Dmitry Sergeev Date: Tue, 19 Dec 2023 14:45:01 +0400 Subject: [PATCH] WIP --- copy-tag/src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/copy-tag/src/index.js b/copy-tag/src/index.js index 7be97dc..b76e5fc 100644 --- a/copy-tag/src/index.js +++ b/copy-tag/src/index.js @@ -27,7 +27,7 @@ async function main() { } let pUrl; try { - pUrl = new URL(u); + pUrl = new URL(url); } catch(e) { throw new Error(`Not valid format of url: "${url}". Error: ${e}`); }