From d513efbf9ff0c46abfa9e7d104921e6915545a38 Mon Sep 17 00:00:00 2001 From: Daeyeon Jeong Date: Fri, 9 Dec 2022 19:16:39 +0900 Subject: [PATCH] fixup! fixup! errors: fix ERR_UNSUPPORTED_ESM_URL_SCHEME error message Signed-off-by: Daeyeon Jeong Co-authored-by: Antoine du Hamel --- lib/internal/errors.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/internal/errors.js b/lib/internal/errors.js index 4ddaec493f275b..e641347cc51058 100644 --- a/lib/internal/errors.js +++ b/lib/internal/errors.js @@ -896,6 +896,8 @@ function determineSpecificType(value) { /** * Create a list string in the form like 'A and B' or 'A, B, ..., and Z'. + * We cannot use Intl.ListFormat because it's not available in + * --without-intl builds. * @param {Array} array An Array * @param {string} type The list type to be inserted before the last element. * @returns {string}