From 8d5550641bb230cb082c0673054c557fcbf32283 Mon Sep 17 00:00:00 2001 From: Gennady Dogaev Date: Fri, 2 Dec 2022 18:43:47 +0200 Subject: [PATCH] Detect scoped packages Fixes #10090 --- lib/models/blueprint.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/models/blueprint.js b/lib/models/blueprint.js index 356a6a112af..a14042b8eb2 100644 --- a/lib/models/blueprint.js +++ b/lib/models/blueprint.js @@ -1508,7 +1508,7 @@ let Blueprint = CoreObject.extend({ Blueprint.lookup = function (name, options) { options = options || {}; - if (name.includes(path.sep)) { + if (name.includes(path.sep) && name.substring(0, 1) !== '@') { let blueprintPath = path.resolve(name); let isNameAPath = Boolean(blueprintPath);