From 4a7f57234ec6042319aa954b2efb97a5dd5882d0 Mon Sep 17 00:00:00 2001 From: Michael Mok Date: Mon, 23 May 2022 02:01:49 +0200 Subject: [PATCH] chore: test Node 18 and remove debug console (#631) --- .circleci/config.yml | 6 +++--- sockets/utils/getSocketUrlParts.js | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index f7a33320..aff0d96f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,14 +4,14 @@ anchors: - &node-version-enum - '12.22' - '14.19' - - '16.13' - - '17.4' + - '16.14' + - '18.2' - &webpack-version-enum - '4' - '5' - &node-version-param node-version: - default: '16.13' + default: '16.14' enum: *node-version-enum type: enum - &webpack-version-param diff --git a/sockets/utils/getSocketUrlParts.js b/sockets/utils/getSocketUrlParts.js index 10d3881d..dc0a4a5f 100644 --- a/sockets/utils/getSocketUrlParts.js +++ b/sockets/utils/getSocketUrlParts.js @@ -117,7 +117,6 @@ function getSocketUrlParts(resourceQuery, metadata) { } if (!urlParts.hostname || !urlParts.pathname) { - console.log(urlParts); throw new Error( [ '[React Refresh] Failed to get an URL for the socket connection.',