From 43df59a2957582f71cbeb9741e8735eaeae3a392 Mon Sep 17 00:00:00 2001 From: Mihail Stoykov Date: Fri, 18 Aug 2023 11:09:56 +0300 Subject: [PATCH] Deprecate prepending https:// in tries to load modules Part of #3287 --- loader/loader.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/loader/loader.go b/loader/loader.go index 534764968cc..6e7c3360b90 100644 --- a/loader/loader.go +++ b/loader/loader.go @@ -199,8 +199,8 @@ func Load( } case moduleSpecifier.Scheme == "": logger.Warningf(`The moduleSpecifier "%s" has no scheme but we will try to resolve it as remote module. `+ - `This will be deprecated in the future and all remote modules will `+ - `need to explicitly use "https" as scheme.`, originalModuleSpecifier) + `This is deprecated and will be removed in v0.48.0 - all remote modules will `+ + `need to explicitly be prepended with "https://".`, originalModuleSpecifier) *finalModuleSpecifierURL = *moduleSpecifier finalModuleSpecifierURL.Scheme = scheme default: